support iOS 8.x
Merge pull request #4 from skyer9/patch-4

support iOS 8.x