How Can I Get Touch Events in an iPhone App's Hidden Status Bar's Area?

后端 未结 3 1175
深忆病人
深忆病人 2021-01-19 00:10

I have an iPhone app that hides the status bar. However, my main view doesn\'t get any touch events when I tap in the status bar area. Is there something I can do to fix t

相关标签:
3条回答
  • 2021-01-19 00:31

    Found my own answer (of sorts):

    This behavior only happens in the iPhone Simulator. When I run the application on an actual iPhone, it works fine.

    I'd still be interested to know if there is a way to make it work on the simulator.

    0 讨论(0)
  • 2021-01-19 00:41

    I haven't had this problem, but then again, I'm not using OpenGL views. When you launch in Landscape mode, are you setting the StatusBarHidden property of the appropriate ViewController?

    0 讨论(0)
  • 2021-01-19 00:50

    It's a bug in the Simulator. It's working fine on iPhone. Check http://gtekna.com/?p=140

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