Update to handle deprecation with iOS 7.0 target
Merge pull request #54 from dav/master

Update to handle deprecation with iOS 7.0 target