IOS 7 compatibility
Merge pull request #1 from dasTor/master

IOS 7 compatibility