2011-07-17 7 views
1

天気アプリ(basilar iPhoneアプリ内)には、情報の "i"のボタンがあります。この "i"を押すと、ビューを変更する興味深い効果があります。この効果の名前は何ですか?私はそれを私のアプリで再生したい。IOS:変更ビューの提案

答えて

2

UIViewControllersの間のモーダルトランジションスタイルであり、UIViewではありません。あなたがのUIViewControllerがロードされて説明した例で

はモーダルな方法で提示され、トランジションスタイルはUIModalTransitionStyleFlipHorizontal

selfUIViewController

ある
UIViewController *controllerToBeLoaded = [[UIViewController alloc] init]; 
self.modalPresentationStyle = UIModalTransitionStyleFlipHorizontal; 
[self presenteModalViewController:controllerToBeLoaded animated:YES]; 

に設定されています

関連する問題