[英]When I click on navigation bar, my app goes to previous view
I have a strange problem with my application. 我的应用程序有一个奇怪的问题。 my view has a navigation bar with a back button on it.
我的视图上有一个带有后退按钮的导航栏。 When I click button, it obviously goes to previous view;
当我单击按钮时,它显然转到了先前的视图; anyway, today I noticed that it does even if I click in a small area outside the button but very close to it, on navigation bar.
无论如何,今天我注意到,即使我在导航栏上单击按钮外的一个很小区域但非常靠近按钮,也可以这样做。
This seems so weird and incomprehensible that I'm beginning to think that it may depend on Simulator iOS that Xcode uses to simulate, run and test application. 这似乎太不可思议和不可理解了,我开始认为它可能取决于Xcode用于仿真,运行和测试应用程序的Simulator iOS。
Can anyone help me? 谁能帮我?
button
的画布大于按钮本身,您可以尝试向左滑动,并同时看到viewcontroller
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.