Fixed iOS version null, Issue #14

Fixes the issue of the version returning null on iOS, mentioned in issue #14