Top "Uiapplication" questions

The UIApplication class provides a centralized point of control and coordination for apps running on iOS.

What is Objective C execution order after UIApplicationMain in Main?

Could someone please explain how control of execution flows in an iOS application? I know that UIApplicationMain is called first …

objective-c sequence execution uiapplication control-flow
Confusion between background vs suspended app states

I am bit confused about these two states. Following is my understanding; when app is in background and if you …

background ios5 uiapplication application-state
How to launch the iOS mail app in Swift?

I'm creating an iOS application with a password reset feature that sends an email to the user. After sending the …

ios swift uiapplication
UIApplication.delegate must be used from main thread only

I have the following code in my app delegate as a shortcut for working with CoreData in my other viewControllers: …

ios swift xcode thread-safety uiapplication
What describes the Application Delegate best? How does it fit into the whole concept?

I think to know what the App Delegate does. It has some nice methods like -applicationDidFinishLaunching which will be called …

ios delegates appdelegate uiapplicationdelegate uiapplication
How to open url link by using swift?

i want to go to a url by clicking on button. I tried using 'UISharedapplication'and also through the method below …

ios swift xcode uiapplication openurl
Restarting iPhone application after [UIApplication sharedApplication] openURL

As title says I'd like to know how to restart my iPhone app after doing this: [[UIApplication sharedApplication] openURL:[NSURL …

iphone uiapplication openurl
How to set custom font family as system font in ios application

I am working on an ios application in which i have to use custom fonts for UIs. I know how …

ios fonts uiapplication
Type 'UIApplication' has no member 'didBecomeActiveNotification'

I'm trying to add observer for UIApplication.didBecomeActiveNotification with following code: NotificationCenter.default.addObserver(forName: UIApplication.didBecomeActiveNotification, object: nil, queue: …

ios swift uiapplication notificationcenter