Следующий код в < /p>
Код: Выделить всё
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
...
// Preload both Tabbar Views
NSArray* tabViewControllers = _tabBarController.viewControllers;
_firstViewCntrl = (FirstViewController *)[tabViewControllers objectAtIndex:0];
_secndViewCntrl = (SecondViewController *)[tabViewControllers objectAtIndex:1];
UIView *dummy1 __unused;
UIView *dummy2 __unused;
dummy2 = _secndViewCntrl.view; // Triggers viewDidLoad
Подробнее здесь: [url]https://stackoverflow.com/questions/79711573/app-does-no-longer-run-in-latest-xcode-26-beta-3-17a5276g[/url]