How to debug who is eating my touches in UIKit?

前端 未结 7 1491
孤街浪徒
孤街浪徒 2021-01-30 17:16

I can\'t figure out why tapping on text fields and buttons in my view is not working. I\'ve checked all the obvious things like whether userInteractionEnabled is set to YES, whe

相关标签:
7条回答
  • 2021-01-30 17:48

    You can use the new Xcode6 live view debugging and by turning the view hierarchy in 3D you can see which views are above the ones you care for and inspect them.

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