Updated native implementation for iOS 7
Code cleanup for native implementation
Merge pull request #276 from matthewdunsdon/update-native-ios-7

Update native implementation for iOS 7