iOS7/iPhone5s functionality

Just tested a few forks and this one builds and works fine. Please merge into the main plugin so Android and iOS works both.