Removing invalid iPhone code