ios - Why presenting controller's view.transform gets reset on dismissal? -


i started custom uiviewcontroller transitions using uiviewcontrolleranimatedtransitioning. went fine, when dismiss view, topography of presenting view beneath (green) gets reset.

you can see cover, , push transitions. | click gif |

enter image description here

if listen cover transition carefully, can see problem. click dismiss, presenting (green) view get's transformed fullscreen, while it's alpha works expect (!). stays on 0.5 , animate toward 1.0 should be. not case transform of frameproperties.

same goes push transition, presenting controller's view gets reset right after click. modal view fine.


i've put the project github, made helper class cut down boilerplate, you'll point. see eppzpartialcover transition implementation.

because of animation option uiviewanimationoptionbeginfromcurrentstate. removed animation option, , transition works expected.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -