在xCode中,编写iPhone应用程序,我应该不是在翻转视图之后放置代码吗?iPhone应用程序,翻转视图时运行其他代码
我似乎得到随机崩溃....
{
FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil];
controller.delegate = self;
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
[controller release];
////////////////// Should I not put any code here???
// Code that takes 0.0001 secs to run? Or 0.1 secs? Or 1-2 secs?
}
或翻转回来的时候:
{
[self.delegate flipsideViewControllerDidFinish:self];
////////////////// Should I not put any code here???
// Code that takes 0.0001 secs to run? Or 0.1 secs? Or 1-2 secs?
}