IOS Development Interview Questions and Answers

Q1: What JSON framework is supported by iOS (iPhone OS)?

Answer : 

 

  • SBJson framework is supported by iOS. It is a JSON parser and generator for Objective-C (Objective-C is the primary programming language you use when writing software for OS X and iOS. It’s a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime).

 

  • SBJson provides flexible APIs and additional control that makes JSON handling easy

 

 

Q2: What are the features added in iOS 9?

Answer : 

 

  • Intelligent Search and Siri- Intelligent Search is an excellent mechanism to learn user habits and act on that information- open apps before we need them, make recommendations on places we might like and guide us through our daily lives to make sure we’re where we need to be at the right time.

 

  • Siri is a personal assistant to the users, able to create contextual reminders and search through photos and videos in new ways. Swiping right from the home screen also brings up a new screen that houses “Siri Suggestions,” putting favorite contacts and apps right on your fingertips, along with nearby restaurant and location information and important news.
  • Deeper search capabilities can show results like sports scores, videos, and content from third-party apps, and you can even do simple conversions and calculations using the search tools on your iPhone or iPad.Performance improvements
  • Many of the built-in apps have been improved.
  • ✓ Notes includes new checklists and sketching features
  • ✓ Maps now offers transit directions
  • ✓ Mail allows for file attachments, and
  • ✓ New “News” app that learns your interests and delivers relevant content you might     like to read.
  • ✓ Apple Pay is being improved with the addition of store credit cards and loyalty cards
  • ✓ Leading “Passbook” to be renamed to “Wallet” in iOS 9.
  • San Francisco font, wireless CarPlay support
  • An optional iCloud Drive app, built-in two-factor authentication and optional longer passwords for better security.

 

 

Q3: What is Platform limitations of tvOS ?

Answer : First, tvOS provides no browser support of any kind, nor is there any WebKit or other web-based rendering engine you can program against. This means your app can’t link out to a web browser for anything, including web links, OAuth, or social media sites.

Second, tvOS apps cannot explicitly use local storage. At product launch, the devices ship with either 32 GB or 64 GB of hard drive space, but apps are not permitted to write directly to the on-board storage.

tvOS app bundle cannot exceed 4 GB.

Q4: Is multitasking function is supported by the iOS?

Answer : Multitasking function is supported by the iOS 4 & the other high level series. These series supports the app to run in the background once they are launched and they keep running unless they are terminated. This is the highly extraordinary future showcased by the iOS application platform.

Q5: Among the different JSON framework which one does supported by the iOS?

Answer : iOS supports SBJson framework. It is a well advanced and highly flexible framework that supports flexible functioning of APIs & and some other extra added features that make the JSOn handling a lot easier. SBJson is a highly advanced concept of iOS software platform.

Q6: What do you understand by the term App Bundle?

Answer : A bundle can simply be defined as a directory which groups up all the related resources together at one place within the file system. For example, if you build an iOS app, Xcode packages then it can be called as a bundle. Inside an iOS app bundle it contains all the applications files which can be executable. App Bundle also supports the resource different files which include localized content, image files and app icons. These elements helps in delivering the best application performance to the iOS software.

Q7: In the case of iOS application getting crashed what are the things you are going to do?

Answer : It is quite obvious in seeing the applications getting crashed and the performance goes down. In such cases the sequential steps which are done to find the best solution to the mentioned problem are

* At first, get the exact steps to reproduce the crashed application.

* Then the next thing to be done is to find out the iOS version of that particular device.

* Then check if the version is latest or not?

* And at the end try to get device logs if possible.

Q8:What is KVC and KVO? Give an example of using KVC to set a value.

Answer : KVC stands for Key-Value Coding. It’s a mechanism by which an object’s properties can be accessed using string’s at runtime rather than having to statically know the property names at development time. KVO stands for Key-Value Observing and allows a controller or class to observe changes to a property value.

Q9: Explain the difference between atomic and nonatomic synthesized properties?

Answer : Atomic and non-atomic refers to whether the setters/getters for a property will atomically read and write values to the property. When the atomic keyword is used on a property, any access to it will be “synchronized”. Therefore a call to the getter will be guaranteed to return a valid value, however this does come with a small performance penalty. Hence in some situations nonatomic is used to provide faster access to a property, but there is a chance of a race condition causing the property to be nil under rare circumstances (when a value is being set from another thread and the old value was released from memory but the new value hasn’t yet been fully assigned to the location in memory for the property).

Q10: What are the tools required to develop iOS applications?

Answer : iOS development requires Intel-based Macintosh computer and iOS SDK.

Q11: Does iOS support multitasking?

Answer : iOS 4 and above supports multi-tasking and allows apps to remain in the background until they are launched again or until they are terminated.

Q12: What is the purpose of UIWindow object?

Answer : The presentation of one or more views on a screen is coordinated by UIWindow object.

Q13: Which object manage the presentation of app’s content on the screen?

Answer : View controller objects takes care of the presentation of app’s content on the screen. A view controller is used to manage a single view along with the collection of subviews. It makes its views visible by installing them in the app’s window.

Q14: Why an app on iOS device behaves differently when running in foreground than in background? 

Answer : An application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices.

Q15: Which JSON framework is supported by iOS?

Answer : SBJson framework is supported by iOS.  It is a JSON parser and generator for Objective-C. SBJson provides flexible APIs and additional control that makes JSON handling easier.

Q16: Name the framework that is used to construct application’s user interface for iOS.

Answer : 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.

Q17: Mention what are the source items used by Xcode?

Answer : Xcode uses four different types of source items

 

  • Source File
  • Source Group
  • Source Folder
  • Framework

 

Q18: What Is Xcode?

Answer : Xcode is Apple’s integrated development environment (IDE) that you use to design apps for Apple products. It provides various tools to manage your entire development workflow from creating your app, to testing, submitting and optimizing it to the App store.

Q19: What Are The Features Is IOS 6?

Answer :

  1. Map :beautifully designed from the ground up (and the sky down)
  2. Integration of Facebook with iOS
  3. Shared photo streams.
  4. Passbook – boarding passes, loyalty cards, retail coupons, cinema tickets and more all in one place.
  5. Facetime – on mobile network as wifi.
  6. Changed Phone app – *remind me later,*reply with message.
  7. Mail – redesigned more streamline interface.
  8. Camera with panorama .

Q20: What Is Iphone?

Answer : iPhone is a combination of internet and multimedia enabled smart phone developed by Apple Inc. iPhone functions as a camera phone, including text messaging, and visual voice mail. iPhone is a portable media player that resembles a video iPod It has user interface that is built around the multi-touch screen including virtual keyboard.

Q21: What Is An Iphone App?

Answer : An iPhone app is a program that runs on our iPhone/iPod Touch. It enables us to accomplish a certain task. They could be utility apps, games, enterprise apps, entertainment apps, apps to access our bank account etc.

Q22: What Is The Introduction To Iphone Application Development?

Answer : In 2007, Apple entered the cellular phone business with the introduction of the iPhone, a multi-touch display cell phone, which also includes the features of iPod.

Q23: What Is I-phone Sdk?

Answer : iPhone SDK is available with tools and interfaces needed for developing, installing and running custom native applications. Native applications are built using the iPhone OS’s system frameworks and Objective-C language and run directly on iPhone OS. Native applications are installed physically on a device and can run in presence or absence of network connection.

Q24: What Is Iphone Reference Library?

Answer : 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.

Q25: What Is Iphone Architecture?

Answer : iPhone architecture is similar to Mac OS X architecture

It acts as an intermediary between the iPhone and iPod hardware an the appearing applications on the screen.

The user created applications never interact directly with the appropriate drivers, which protects the user applications from changes to the hardware.

Q26: Describe The Functionality Of Accelerometer Of An Iphone?

Answer : iPhone responds to motion using a built-in accelerometer. The accelerometer detects the movement and changes the display accordingly, at the time of rotating iPhone from portrait to landscape.

Q27: Define App Bundle?

Answer : When you build your iOS app, Xcode packages it as a bundle. A bundle is a directory in the file system that groups related resources together in one place. An iOS app bundle contains the app executable file and supporting resource files such as app icons, image files, and localized content.

Q28: Why Iphone Apps Are Popular?

Answer : Give our business a whole new way of transacting business for millions of users. iPhones are the market leaders in the smart phone segment. The iPhone has become a great device to surf the internet, play games, interact with social networks and transact business.