程式碼開啟指定ViewController
先import 指定的viewController
//必須先在viewController上面的identifier 裡面寫名字 PersonDetailVC *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"PersonDetailVC"]; [self.navigationController pushViewController:vc animated:YES];
留言
張貼留言