Removed unused function from iOS

This is causing warnings in the build