Running and Testing on the Device

Automating our tests and testing the user interface will eliminate a lot of problems that can come up in our app. But we still have another big blind spot: what if the app behaves differently in the iOS Simulator app than it would on a real device?

This is not idle speculation. Macs are generally more powerful than iOS devices, so apps often run faster in the Simulator than on real iOS hardware. A mouse or trackpad pointer is more precise than a finger touch, so running in the Simulator might also blind us to usability problems in the app. And there is some functionality that simply doesn’t exist in the Simulator: the Simulator won’t pretend that the Mac’s built-in webcam is either of the iPhone cameras, and ...

Get iOS 9 SDK Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.