我如何像这样显示 ModalTransitionStyle?
我想像我提到的那样展示 Corner 本身。
如果我触摸角落,想打开下一个 View ......
-(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/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |