Present a modalview in a tabbar app
-
12-01-2021 - |
Frage
I have a tabbar project, but when the app loads, it should display a modal view with a login screen. I do
selfcareViewController *selfcareView = [[selfcareViewController alloc]init];
[self presentModalViewController:selfcareView animated:YES];
in the first view controller of the tabbar. But it doesn't load anything.
Lösung
Try presenting the modal view controller from the UITabbarController itself.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow