Thursday 24 September 2015

Freshers iPhone Interview Questions and Answers pdf

21. Which API is used to write test scripts that help in exercising the application's user interface elements? 
UI Automation API is used to automate test procedures. Tests scripts are written in JavaScript to the UI Automation API.  This in turn simulates user interaction with the application and returns log information to the host computer.

22. Explain about the applications that can be used with iPhone ?
Technology, Entertainment and Design (TED): Allows to watch and listen to world’s most fascinating people have to say, all on the iPhone.

23. What are the tools required to develop iOS applications? 
iOS development requires Intel-based Macintosh computer and iOS SDK.
Name the framework that is used to construct application’s user interface for iOS.
The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views, and controls specifically designed for a touch screen interface.

24. What is iPhone reference library?
iPhone reference library is a set of reference documents for iPhone OS.
It can be downloaded by subscribing to the iPhone OS Library doc set.
Select Help>Documentation from X code, and click the subscribe button next to the iPhone OS Library doc set, which appears in the left column.

25. What are sensors in iPhone?
The proximity sensor immediately turns off the display when the iPhone is lifted to ear. With this sensor the power is saved and accidental dialing is prevented.
The display is automatically brightens the iPhone by the ambient light sensor when the sunlight or bright rooms and dims in darker places.

26. How can an operating system improve battery life while running an app? 
An app is notified whenever the operating system moves the apps between foreground and background.  The operating system improves battery life while it bounds what your app can do in the background. This also improves the user experience with foreground app.

27. Why an app on iOS device behaves differently when running in foreground than in background? 
An application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices.

28. Which framework delivers event to custom object when app is in foreground? 
The UIKit infrastructure takes care of delivering events to custom objects. As an app developer, you have to override methods in the appropriate objects to process those events.

29. When an app is said to be in not running state? 
An app is said to be in 'not running' state when:
 it is not launched.
 it gets terminated by the system during running.

30. Assume that your app is running in the foreground but is currently not receiving events. In which sate it would be in?
An app will be in InActive state if it is running in the foreground but is currently not receiving events. An app stays in InActive state only briefly as it transitions to a different state.

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8

No comments:

Post a Comment