在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?
}