fixed typo in iOS method