2017-11-21 15 views

答えて

0

あなたがこの試すことができます: 注意をカスタムトランジションでアニメーションプロパティは問題ではないので、trueまたはfalseのどちらかを設定できます。

CATransition *transition = [[CATransition alloc] init]; 
transition.duration = 0.5; 
transition.type = kCATransitionPush; 
transition.subtype = kCATransitionFromRight; 
[self.view.window.layer addAnimation:transition forKey:kCATransition]; 
[self presentViewController:yourViewController animated:false completion:nil]; 

これに問題がある場合はお知らせください。

+0

ダッシュボードとは何ですか? – Dvor

+0

これはあなたが提示する必要があなたのviewcontrollerオブジェクトになります。 –

+0

これは私のView Controller(ライブラリの問題かもしれません)では動作しません。 – Dvor

関連する問題