Some added support for iOS.