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.

Apply custom UIButton styling to all Buttons

I want to apply some styling to all my viewcontrollers from multiple storyboards. I have many viewcontrollers so applying the …

ios swift uibutton appdelegate
How to pass data from appdelegate to a viewcontroller?

Hello I am trying to implement a push notification feature in my IOS app. Currently I have code that will …

ios swift3 appdelegate apn
Handling different URL Schemes in iOS (Facebook and Instagram)

I am not even sure how to define the problem but here it goes. I have an application that uses …

ios appdelegate openurl
Using same UITextFieldDelegate methods in custom UIView and in UIViewController simultaneously

I have an UIView (named HCTextFieldView) with subviews: UITextField and UILabel above. UITextField's delegate is equal to self. Delegate methods …

ios uitextfield appdelegate uitextfielddelegate
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
Application crashing with UIApplicationEndBackgroundTaskError

Context: My app is made using SwiftUI, which is a game using SpriteKit. When pressing the home button on my …

ios swift sprite-kit appdelegate swiftui
How to implement push notification for iOS 10[Objective C]?

Can anyone help me with implementing push notification for iOS 10 as i have implemented following code but still getting problem …

ios objective-c push-notification appdelegate nsusernotification
Can [self.window makeKeyAndVisible]; be called before setting rootviewcontroller

My requirement is that UITabBarController is the rootviewcontroller and on very first time of app launch I want to show …

ios objective-c uiviewcontroller appdelegate uiwindow
Black screen after App Startup

I'm setting First viewController which will appear on App Startup. That's my AppDelegate.h: #import "AppDelegate.h" #import "TutorialController.h" // …

ios viewdidload appdelegate viewdidappear rootview