Removed method deprecated in iOS 7