Removed some of code for iOS