UIButton action not working ios

后端 未结 1 1762
不知归路
不知归路 2021-01-16 18:58

I update xcode 6.2 to 7 and add :

self.window.rootViewController = [UIViewController new];

in AppDelegate.m

- (BOOL)applic         


        
相关标签:
1条回答
  • 2021-01-16 19:35

    You are wrong at adding navigation controller: replace:

    [self.window addSubview:navController.view];
    

    with

    self.window.rootViewController = navController;
    
    0 讨论(0)
提交回复
热议问题