You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UIViewController lifecycle events (view[Will | Did][Load | Appear | Disappear]) should not be sent manually but handled with the View Controller Containment API (willMoveToParentViewController, addChildViewController, didMoveToParentViewController)
The text was updated successfully, but these errors were encountered:
+1 Lifecycycle events should not be set manually. Otherwise, say, ViewDidLoad would be called twice. The funny thing is that if I just comment out the following line, the screen will go black.
// [self notifyControllers:NSSelectorFromString(@"viewDidLoad")
object:nil
checkIndex:NO];
If I comment out everything in notifyControllers, my app works fine with everything rendered on the screen properly.
UIViewController lifecycle events (view[Will | Did][Load | Appear | Disappear]) should not be sent manually but handled with the View Controller Containment API (willMoveToParentViewController, addChildViewController, didMoveToParentViewController)
The text was updated successfully, but these errors were encountered: