Ios Interview Questions And Answers

Ios Interview Questions list for experienced

  1. Where can you test Apple iPhone apps if you don't have the device?
  2. Does iOS support multitasking?
  3. Which JSON framework is supported by iOS?
  4. What are the tools required to develop iOS applications?
  5. Name the framework that is used to construct application's user interface for iOS.
  6. Name the application thread from where UIKit classes should be used?
  7. Which API is used to write test scripts that help in exercising the application\'s user interface elements?
  8. Why an app on iOS device behaves differently when running in foreground than in background?
  9. How would you create your own custom
  10. What is App Bundle?
  11. Whats fast enumeration?
  12. Explain how the push notification works.
  13. Multitasking support is available from which version?
  14. Explain the options and bars available in xcode 4.x workspace window ?
  15. If I call performSelector:withObject:afterDelay: – is the object retained?
  16. Can you explain what happens when you call autorelease on an object?
  17. Whats the NSCoder class used for?
  18. Whats an NSOperationQueue and how/would you use it?
  19. Explain the correct way to manage Outlets memory.
  20. What is sandbox?
  21. Is the delegate for a CAAnimation retained?
  22. What is dynamic?
  23. What happens when the following code executes? Ball *ball = [[[[Ball alloc] init] autorelease] autorelease];
  24. Explain the difference between NSOperationQueue concurrent and non-concurrent.
  25. Implement your own synthesized methods for the property NSString *title.
  26. Implement the following methods: retain, release, autorelease.
  27. What are all the newly added frameworks iOS 4.3 to iOS 5.0?
  28. What is Automatic Reference Counting (ARC) ?
  29. What is the difference between retain & assign?
  30. What is Controller Object?
  31. What is Wildcard App IDs?
  32. What is categories in iOS?
  33. What is Delegation in iOS?
  34. How can we achieve singleton pattern in iOS?
  35. What is delegate pattern in iOS?
  36. What is notification in iOS?
  37. What is posing in iOS?
  38. What is run loop in iOS ?
  39. What is push notification?How it works?
  40. What is the configuration file name in iOS explain in brief ? (Or) What is plist file and explain about it is usage?
  41. What is IPA?
  42. What is IBOutlet in iOS?
  43. What is latest iOS version?
  44. What is latest Xcode version?
  45. What is latest mac os version?
  46. What are the features is IOS 6?
  47. Which all frameworks you worked in ios ?

Ios interview questions and answers on advance and basic Ios with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Ios also add your Questions if any you have to ask and for apply in Ios Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.

Top Ios interview questions and answers for freshers and experienced

What is Ios ?

Answer : iOS is Apple\'s operating system for mobile devices, such as the iPhone, iPod touch, iPad and Apple TV (2nd generation and up). Much is shared with OS X, but iOS is optimized for touch-based interface

Questions : 1 :: Where can you test Apple iPhone apps if you don't have the device?

iOS Simulator can be used to test mobile applications. Xcode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator. Xcode also includes all required tools and...View answers

Questions : 2 :: Does iOS support multitasking?

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. 

Questions : 3 :: Which JSON framework is supported by iOS?


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.

Questions : 4 :: What are the tools required to develop iOS applications?

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

Questions : 5 :: 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...View answers

Questions : 6 :: Name the application thread from where UIKit classes should be used?


UIKit classes should be used only from an application’s main thread.  Note: The derived classes of UIResponder and the classes which manipulate application’s user interface...View answers

Questions : 7 :: 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...View answers

Questions : 8 :: 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.

Questions : 9 :: How would you create your own custom


By Subclassing the UIView class.

Questions : 10 :: What is App Bundle?

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...View answers

Questions : 11 :: Whats fast enumeration?

Fast enumeration is a language feature that allows you to enumerate over the contents of a collection. (Your code will also run faster because the internal implementation reduces message send...View answers

Questions : 12 :: Explain how the push notification works.

Questions : 13 :: Multitasking support is available from which version?

iOS 4.0.

Questions : 14 :: Explain the options and bars available in xcode 4.x workspace window ?

Questions : 15 :: If I call performSelector:withObject:afterDelay: – is the object retained?

Yes, the object is retained. It creates a timer that calls a selector on the current threads run loop. It may not be 100% precise time-wise as it attempts to dequeue the message from the run loop and...View answers

Questions : 16 :: Can you explain what happens when you call autorelease on an object?

When you send an object a autorelease message, its retain count is decremented by 1 at some stage in the future. The object is added to an autorelease pool on the current thread. The main thread loop...View answers

Questions : 17 :: Whats the NSCoder class used for?

NSCoder is an abstractClass which represents a stream of data. They are used in Archiving and Unarchiving objects. NSCoder objects are usually used in a method that is being implemented so that the...View answers

Questions : 18 :: Whats an NSOperationQueue and how/would you use it?

The NSOperationQueue class regulates the execution of a set of NSOperation objects. An operation queue is generally used to perform some asynchronous operations on a background thread so as not to...View answers

Questions : 19 :: Explain the correct way to manage Outlets memory.

Create them as properties in the header that are retained. In the viewDidUnload set the outlets to nil(i.e self.outlet = nil). Finally in dealloc make sure to release the outlet.

Questions : 20 :: What is sandbox?

For security reasons, iOS places each app (including its preferences and data) in a sandbox at install time. A sandbox is a set of fine-grained controls that limit the app’s access to...View answers

Questions : 21 :: Is the delegate for a CAAnimation retained?

Yes it is!! This is one of the rare exceptions to memory management rules.

Questions : 22 :: What is dynamic?

You use the @dynamic keyword to tell the compiler that you will fulfill the API contract implied by a property either by providing method implementations directly or at runtime using other...View answers

Questions : 23 :: What happens when the following code executes? Ball *ball = [[[[Ball alloc] init] autorelease] autorelease];

  A: It will crash because itʼs added twice to the autorelease pool and when it it dequeued the autorelease pool calls release more than once.

Questions : 24 :: Explain the difference between NSOperationQueue concurrent and non-concurrent.

In the context of an NSOperation object, which runs in an NSOperationQueue, the terms concurrent and non-concurrent do not necessarily refer to the side-by-side execution of threads. Instead, a...View answers

Questions : 25 :: Implement your own synthesized methods for the property NSString *title.

Well you would want to implement the getter and setter for the title object. Something like this: view source print? – (NSString*) title // Getter method { return title; } – (void)...View answers

Questions : 26 :: Implement the following methods: retain, release, autorelease.

-(id)retain { NSIncrementExtraRefCount(self); return self; } -(void)release { if(NSDecrementExtraRefCountWasZero(self)) {NSDeallocateObject(self); } } -(id)autorelease { // Add the object...View answers

Questions : 27 :: What are all the newly added frameworks iOS 4.3 to iOS 5.0?

 Accounts  CoreBluetooth  CoreImage  GLKit  GSS  NewsstandKit  Twitter

Questions : 28 :: What is Automatic Reference Counting (ARC) ?

ARC is a compiler-level feature that simplifies the process of managing the lifetimes of Objective-C objects. Instead of you having to remember when to retain or release an object, ARC evaluates the...View answers

Questions : 29 :: What is the difference between retain & assign?

Assign creates a reference from one object to another without increasing the source’s retain count. if (_variable != object) {     [_variable release];    ...View answers

Questions : 30 :: What is Controller Object?

A controller object acts as a coordinator or as an intermediary between one or more view objects and one or more model objects. In the Model-View-Controller design pattern, a controller object (or,...View answers

Questions : 31 :: What is Wildcard App IDs?

A wildcard app ID allows you to use an app ID to match multiple apps; wildcard app IDs are useful when you first start developing new apps because you don’t need to create a separate app ID for...View answers

Questions : 32 :: What is categories in iOS?

We use categories to define additional methods of an existing class—even one whose source code is unavailable to you—without subclassing. You typically use a category to add methods to an...View answers

Questions : 33 :: What is Delegation in iOS?

Delegation is a design pattern in which one object sends messages to another object—specified as its delegate—to ask for input or to notify it that an event is occurring. Delegation is...View answers

Questions : 34 :: How can we achieve singleton pattern in iOS?

The Singleton design pattern ensures a class only has one instance, and provides a global point of access to it. The class keeps track of its sole instance and ensures that no other instance can be...View answers

Questions : 35 :: What is delegate pattern in iOS?

Delegation is a mechanism by which a host object embeds a weak reference (weak in the sense that it’s a simple pointer reference, unretained) to another object—its delegate—and...View answers

Questions : 36 :: What is notification in iOS?

The notification mechanism of Cocoa implements one-to-many broadcast of messages based on the Observer pattern. Objects in a program add themselves or other objects to a list of observers of one or...View answers

Questions : 37 :: What is posing in iOS?

Objective-C permits a class to entirely replace another class within an application. The replacing class is said to “pose as” the target class. All messages sent to the target...View answers

Questions : 38 :: What is run loop in iOS ?

Run loops are part of the fundamental infrastructure associated with threads. A run loop is an event processing loop that you use to schedule work and coordinate the receipt of incoming...View answers

Questions : 39 :: What is push notification?How it works?

Questions : 40 :: What is the configuration file name in iOS explain in brief ? (Or) What is plist file and explain about it is usage?

A property list is a representation of a hierarchy of objects that can be stored in the file system and reconstituted later. Property lists give applications a lightweight and portable way to store...View answers

Questions : 41 :: What is IPA?

IPA stands for "iOS App Store Package" An .ipa file is an iPhone application archive file which stores an iPhone app. It is usually encrypted with Apple's FairPlay DRM...View answers

Questions : 42 :: What is IBOutlet in iOS?

  IBOutlet is a macro defined to denote variables and methods that can be referred to in Interface Builder. IBOutlets are used to hook up your interface made in Interface Builder with...View answers

Questions : 43 :: What is latest iOS version?

IOS - 6.1.3

Questions : 44 :: What is latest Xcode version?

Xcode- 4.6.2

Questions : 45 :: What is latest mac os version?

Mac- Mountain Lion

Questions : 46 :: What are the features is IOS 6?

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...View answers

Questions : 47 :: Which all frameworks you worked in ios ?

Foundation Framework, UIKit Framework MapKit Framework XCTest Framework (Unit testing) CoreGraphics Framework CFNetwork Framework CoreLocation...View answers
More Question

Ask your interview questions on Ios

Write Your comment or Questions if you want the answers on Ios from Ios Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---