Updated deprecated constants for iOS 6.