2013年6月3日月曜日

Storyboardで定義したviewを再帰的に使用する


このエントリーをはてなブックマークに追加


コードからStoryboardを取得すると、Storyboardで設定したsegueなどもそのまま利用できる



UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
UIViewController *myViewController = [storyboard instantiateViewControllerWithIdentifier:@"ViewIdentifer"];





0 件のコメント:

コメントを投稿