使用xcode4.3的storyboard。
下面是调用第二个UIViewController
的方法,调用BookMenuController
。
UIStoryboard* sb = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:[NSBundle mainBundle]];
BookMenuController* bookControll = [sb instantiateViewControllerWithIdentifier:@"contBook"];
bookControll.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:bookControll animated:YES];
在这种情况下怎么传递参数?我需要传递一个整数型,然后以后还会传递NSMutableArray。
谢谢