add detection for iOS 8 SDK