Using generic UIViewControllers is fine#2
Using generic UIViewControllers is fine#2lluisgerard wants to merge 1 commit intohightech:masterfrom
Conversation
Simplified the code using generic UIViewControllers. There is no need to use your own classes here for MainView and SecondaryViews. I also changed the duration so it uses the same you set on transitionDuration. BTW, Thanks for this example, it really helped me :)
|
Thank you for your help, thanks to you I was able to animate the show of my second view controller :) Thank you very much for your answer !!! |
|
@KeiroMidori right now the animation is separated in two states: This is just setting the frame outside the screen to inside the screen. The You could comment these two lines and play with |
|
It works ! But when I try to dismiss it with the CrossDissolve transition animation it makes a little flash on screen, maybe because it's too fast. I don't know how to make a dismiss dissolve animation manually. |
|
@KeiroMidori uhm... interesting... maybe you should set the alpha 0 to the view in another place. |
Simplified the code using generic UIViewControllers. There is no need to use your own classes here for MainView and SecondaryViews.
I also changed the duration so it uses the same you set on transitionDuration.
BTW, Thanks for this example, it really helped me :)