1

我想以模态方式呈现一个视图控制器,从右到左转换(就像导航控制器一样)。但我根本不想使用任何导航控制器。此外,当我关闭呈现的视图控制器时,我希望动画从左到右。

谢谢你。

4

1 回答 1

0

I have done it using IIViewDeckController: https://github.com/Inferis/ViewDeck

You can use it the way, you set centerController to you "modal controller" you want to present, your leftController to your current controller and at the start you show left controller by default. When you want to show your modal controller, just show the center one.

That is what you want

于 2012-05-14T12:39:16.177 回答