Fix for iOS 8.0 Landscape issue.
Merge pull request #183 from vidhyadharan-Mohanram/master

Fix for iOS 8.0 Landscape issue.
Fix for iOS 8.0 Landscape issue.

Replacing compile time directives with runtime version check.
Merge pull request #184 from vidhyadharan-Mohanram/master

Fix for iOS 8.0 Landscape issue.