Posts

Showing posts from November, 2017

App LifeCycle For IOS App's (UIApplicationDelegate)

Image
Understand the states and transitions of an iOS States Non-running  - The app is not running. 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. Active  - The app is running in the foreground, and receiving events. Background  - The app is running in the background, and executing code. Suspended  - The app is in the background, but no code is being executed. The seven most important application delegate methods The operating system calls specific methods within the application delegate to facilitate transitioning to and from various states. The seven most important application delegate methods a developer should handle are: application:willFinishLaunchingWithOptions Method called when the launch process is initiated. This is the first opportunity to execute any code within the app. application:didFinishLau...

Top iOS Multiple Choice Questions And Answers For Freshers (SWIFT )

1.Which of the following framework is not used in iOS ? a)UIKit Framework b)AppKit Framework c)Foundation Framework d)CoreMotion Framework A nswer: b     2)iOS stands for ?    a)Internetwork Operating System    b)iPhone Operating System    c)Internet Operating System    d)None of Them ​ ​    Answer: b     3)Which of the following hierarchy is correct?    a)UIButton->UIControl->UIView->NSObject->UIResponder    b)UIControl->UIButton->UIView->UIResponder->NSObject    c)UIButton->UIControl->UIView->UIResponder->NSObject    d)None of the Above   Answer: c    4)Which of the following iOS frameworks is a commonly used third party Library?    a)AVFoundation.framework    b)Audiotoolbox.framework    c)AFNetwork.framework    d)CFNet...

Top Answers to IOS Interview Questions

1. IOS Characteristics Criteria Result Type of Operating System Apple Proprietary based on Macintosh OS X OS Fragmentation Tightly integrated with Apple devices Security Heightened security guaranteed 2. What JSON framework is supported by iOS (iPhone OS)? 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. 3. How can we prevent iOS 8 app's streaming video media from being captured by QuickTime Player on Yosemite during screen recording? HTTP Live Streams that have their media encrypted will not be recorded by QuickTime Player on Yosemite while screen recording. These will black out in the recording. • HTTP Live Streaming: – Send l...

IOS Development Questions & Answers Basics

Q1. Where can you test Apple iPhone apps if you don’t have the device? A. 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 frameworks for building iOS apps.  However, it is strongly recommended to test the app on the real device before publishing it. Q2. Does iOS support multitasking?  A. 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.   Q3. Which JSON framework is supported by iOS?  A. 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. Q4. What are the tools required to develop iOS applications?  A. iOS development requires Intel-based Macintosh computer and iOS SDK. ...