我如何像这样显示 ModalTransitionStyle?
我想像我提到的那样展示 Corner 本身。
如果我触摸角落,想打开下一个 View ......
Best Answer-推荐答案 strong>
-(void)goToPage{
//do stuff...
// start the animated transition
[UIView beginAnimations"page transition" context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:flipUp ? UIViewAnimationTransitionCurlUp : UIViewAnimationTransitionCurlDown forView:self.view cache:YES];
//insert your new subview
//[self.view insertSubview:currentPage.view atIndex:self.view.subviews.count];
// commit the transition animation
[UIView commitAnimations];
}
- (BOOL)shouldAutorotateToInterfaceOrientationUIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
关于iphone - 我如何显示 UIViewAnimationOptionTransitionCurl (MapCurl)?,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/12793517/
|