IPHONEAPP-3987 iOS 7 deprecation fixes

Updating to iOS6.  Not sure if any other projects are using this repo