Top "Appdelegate" questions

In iOS, the app delegate is responsible for managing the app throughout its lifecycle by responding to events such as launch and termination.

iOS - Calling App Delegate method from ViewController

What I am trying to do is click a button (that was created in code) and have it call up …

ios objective-c uiviewcontroller appdelegate
Get device token for push notification

I am working on push notifications. I wrote the following code for fetching a device token. - (BOOL)application:(UIApplication *)…

ios iphone push-notification apple-push-notifications appdelegate
NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle

In my AppDelegate there is a problem I do not understand. RootViewController initially called ViewController and I changed it name. …

ios compiler-errors nib appdelegate
Opening view controller from app delegate using swift

I am trying to create a push notification which determines which view to open according to information obtained from the …

ios swift uiviewcontroller appdelegate
Swift - pushViewController from appDelegate, rootViewController.navigationController is nil

Having a problem following a few guides, specifically http://blog.originate.com/blog/2014/04/22/deeplinking-in-ios/ I'm setting the url scheme and …

ios swift uiviewcontroller uinavigationcontroller appdelegate
UIStatusBarStyle not working in Swift

I'm trying to change the Status Bar color in my Swift app to white, but am hitting a brick wall. …

ios swift appdelegate uistatusbar xcode6
Get the current view controller from the app delegate

i am new to ios. I need to know the current view controller from app delegate.. i have no idea …

ios objective-c delegates appdelegate
AppDelegate, rootViewController and presentViewController

I'm doing the Facebook integration tutorial, I want to show my MainViewViewController if the user has a valid token for …

objective-c xcode facebook ios6 appdelegate
Open a view controller when a iOS push notification is received

I want to open a specific view controller when a user clicks on the received push notification message, but when …

ios cocoa-touch push-notification appdelegate
Programmatically set rootViewcontroller for UINavigationcontroller in Storyboard in Appdelegate

I have a value in NSUserdefaults. I am using storyboard, it is embedded in UINavigationController. - (BOOL)application:(UIApplication *)application …

objective-c uinavigationcontroller storyboard nsuserdefaults appdelegate