fix example for iOS