Remove iOS 6.0 depreciated warnings