I've tried many combinations of doing this from the app delegate, the presenting view controller's viewDidLoad, with and without delay, with and without animation.
But either the user can see the presenting view controller for a moment, or the modal doesn't get presented.
How can this be achieved?
Tried code below with storyboard, app starts with modal view controller:
AppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self.window makeKeyAndVisible];
[self.window.rootViewController performSegueWithIdentifier:@"modalSegue" sender:self];
return YES;
}
Segue configuration from start view controller to modal view controller:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With