Deprecated constants in iOS 6 replaced