Removing deprecated warnings for iOS 7, keeping iOS 6 support.

Sorry for the delay in cleaning up this pull request.