Improve example for iOS 6.