ios - UIViewController Interactive Transition error when cancelled -
i have custom transition between 1 uiviewcontroller (vc1)
, modal uiviewcontroller (vc2)
. interactively hide vc2
uipangesturerecognizer
.
when pan gesture finishes , translation in y axis equal or more 100pt, finish transition finishinteractivetransition()
. otherwise cancel transition cancelinteractivetransition()
.
vc1
vc2
transition between vc1 , vc2
when transition cancelled because pan gesture translation less 100pt, expected behaviour revert custom transition animation , show vc2
again instead of this, vc1
shown.
you can download project github.
Comments
Post a Comment