The iOS Simulator runs iPhone application in much the same way as an actual iOS device. As it is quick to begin and correct, the iOS Simulator makes for a perfect test bed to make sure your user interface works the way to be determined; it can be network calls are correct, and that the views change correctly when the phone rotates. You can even simulate touch gestures by using the mouse. The iOS Simulator is a great time saver. One can itemize several things as iOS developers as they have to be careful as the simulator utilizes it host system computing resources so application run faster than on iOS devices, as there is huge memory size.
Xcode is the Apple toolset for developing iOS and Mac OS X applications. To download Xcode, which includes the iOS SDK and iOS Simulator, search for “Xcode” in the Mac App Store.The iOS Simulator application (located in <
Xcode>/Platforms/iPhoneSimulator.platform/Developer/Applications) presents the iPhone or iPad user edge in a window on your computer. This application present several ways of interacting with it by using your keyboard and mouse to simulate taps, device rotation, and other user actions.
This chapter describes the ways in which you use your computer’s input devices to simulate the interaction between users and their devices. The chapter also describes how to uninstall applications from a simulator and how to reset the contents of a simulation environment.
iOS Simulator can simulate three devices (iPhone, iPhone with Retina display, and iPad) and several iOS versions.
To specify the device you want to simulate, choose Hardware > Device, and choose the device.
To specify the iOS version to simulate, choose Hardware > Version, and choose the iOS version