iOS Interview questions

Total available count: 30
Subject - Mobile Technologies
Subsubject - iOS

How many types of execution states are available in iOS and name them?

There are five execution states available, they are,

  1. Non-running: The app is not running
  2. Inactive: The app is running in the foreground, but not receiving events. An iOS app can be placed into an inactive state, for example, when a call or SMS message is received
  3. Active: The app is running in the foreground, and receiving events
  4. Background: The app is running in the background, and executing code
  5. Suspended: The app is in the background, but no code is being executed

Next 5 interview question(s)

Differentiate Inactive and Active execution states?
Differentiate Background and Suspended execution states?
What do you know about NSURLConnection?
Name the different type of NSURLConnection Protocols?
In how many ways we can use NSURLConnection class and name them?