fix update to iOS 7
Merge pull request #6 from dunckr/master

Update to iOS 7