Fixed typo
Added support for iOS6