Can work on iOS too
Merge pull request #1 from jschmid/master

Can work on iOS too