Added support for iOS.