Storyboard 的跳转
2018-04-27 本文已影响0人
福将的逆袭
第一种方式
UIStoryboard *mainSB = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
SelfDetailViewController *selfdetailVC = [mainSB instantiateViewControllerWithIdentifier:@"ChangeSecondPWViewController"];
[self.navigationController pushViewController:selfdetailVC animated:YES];
第二种方式
[self performSegueWithIdentifier:@"ChangeSecondPWViewControlle" sender:nil];