Convert to iOS 7 functionality