コードからStoryboardを取得すると、Storyboardで設定したsegueなどもそのまま利用できる
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
UIViewController *myViewController = [storyboard instantiateViewControllerWithIdentifier:@"ViewIdentifer"];
0 件のコメント:
コメントを投稿