Modifications for iOS 6.