ipad - iOS modal view transition flip without whole screen flipping -


my question similar one:

seamlessly flip 1 modal view another, without showing solid colour background

i followed advice , ran same problem suggested solution - entire screen flips, not modal. had given on being possible, until designer here showed me example pinterest app. i'm including animated gif here. can see background (with 'x' close button) not flip. ideas how done?

thanks!

enter image description here

this in fact quite easy achieve using simple uiview animations:

[uiview transitionwithview:viewtoanimate                   duration:0.3                    options:uiviewanimationoptiontransitionflipfromleft                 animations:^{                     // todo: animations here                     viewtohide.hidden = yes;                     viewtoshow.hidden = no;                 } 

as may note, key here flip option uiviewanimationoptiontransitionflipfromleft. use along uiviewanimationoptiontransitionflipfromright obtain same result seeing in gif.

only viewtoanimate , contents flip, outside hierarchy stay still.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -