iOS 8 support.
Merge pull request #115 from xmartlabs/iOS8_support

iOS 8 support.