首页 > 代码库 > storyboard页面跳转

storyboard页面跳转

将控制器关联上storyboard,并且以控制器的名称命名storyboard ID

在跳转页面的时候这样写

NextViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"NextViewController"];

    [self presentViewController:mvc animated:YES completion:nil];

storyboard页面跳转