Dismiss modal view changes underlying UIScrollView

前端 未结 1 696
春和景丽
春和景丽 2020-12-17 22:24

There must be something basic that I am missing here. I have a UIScrollView open, which is controlled by a customer UIScrollViewController (called DataController). At a cert

相关标签:
1条回答
  • 2020-12-17 22:48
    -[UITransitionView transition:fromView:toView:]
    

    Is perfectly normal for transitioning from the modal back to your view. This is the animation etc, try you modal with animation if you think that could make a difference.

    Take a look at your viewWillAppear, WillDisappear, DidAppear... Even the Load and Unload if appropriate, although unlikely those are called for your trivial test with nothing in the modal. Try placing some logging in those methods to see which is called.

    Also are you saying there is no custom code in those methods, or your controller doesn't override them at all? Could make a difference.

    0 讨论(0)
提交回复
热议问题