IOS interview Q/A  

  • Ans:

    I have this code that hides and shows the navigation bar in one of the view controllers of navigation controller (I want it to be pushed on full screen): override func viewWillAppear(_ animated: Bool) {…
  • Ans:

    Firstly you have added the storeKit framework in your xcode project then define the protocol as in .h file.
  • Ans:

    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.
  • Ans:

    Delegate is an object that handles the events happening on an object. To do that delegate has to follow a protocol specifying the task it is going to handle.
  • Ans:

    Nonatomic and atomic are related to multithreading environment . If a property has an attribute as “nonatomic” that means multiple threads can modify that property concurrently. If the attribute is “atomic”, the threads would be…
  • Ans:

    Your web server sends message (device token + payload) to Apple push notification service (APNS) , then APNS routes this message to device whose device token specified in notification.
  • Ans:

    It’s a keyword used to define the Class.
  • Ans:

    Video Videos can be edited, shared. High quality VGA video can be shot in portrait or landscape.3 Mega pixel Camera: Still photos with greater quality can be takenVoice control: It recognizes the names in contacts…
  • Ans:

    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…
  • Ans:

    Delegate is passing message from one object to other object. It is like one to one communication while nsnotification is like passing message to multiple objects at the same time. All other objects that have…
  • Ans:

    Imagine you are looking for a job. You go to software company daily and ask sir “is there any job for me” and they keep on saying no.  Your time and money is wasted on…