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

后端 未结 3 1185
深忆病人
深忆病人 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.

提交回复
热议问题