Fix error in iOS example