Added sdkVersion method. Fixed a bug on iPad.