Fix iOS 6.0 deprecation warnings.