将控制器关联上storyboard,并且以控制器的名称命名storyboard ID
在跳转页面的时候这样写
NextViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"NextViewController"];
[self presentViewController:mvc animated:YES completion:nil];
将控制器关联上storyboard,并且以控制器的名称命名storyboard ID
在跳转页面的时候这样写
NextViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"NextViewController"];
[self presentViewController:mvc animated:YES completion:nil];