[英]tapping on portion of view changes view to previous view controller unexpectedly
I have a project with 4 view controllers. 我有一个带有4个视图控制器的项目。 2 of these view controllers have a toolbar with a back button.
这些视图控制器中的2个具有带后退按钮的工具栏。 Tapping anywhere on the right lower 2/3 of the screen on the controllers with a back button triggers a segue to the previous view controller - but none of the code in
prepareForSegue
is executed, and I haven't written any segues except for in the toolbar buttons, so the view shouldn't be transitioning to the previous view anyway. 使用后退按钮在控制器屏幕的右下2/3处轻按任何位置都会触发到上一个视图控制器的搜索-但没有执行
prepareForSegue
中的任何代码,除了在工具栏按钮,因此该视图无论如何都不应过渡到上一个视图。
How can I even debug this? 我该如何调试呢?
Apparently this is expected with page curl transition style, oops! 显然,这是页面卷曲过渡样式所期望的,糟糕!
Changing the transition style "solved" it 改变过渡风格“解决”吧
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.