开发者

How Can I Get touch events in an iPad App's hidden status bar's area?

开发者 https://www.devze.com 2023-02-20 07:13 出处:网络
I read about this problem for the iPhone on the post here. The post says it\'s only a simulator problem. Right now I\'ve got the same problem on my iPad app, on the de开发者_高级运维vice itself. The

I read about this problem for the iPhone on the post here.

The post says it's only a simulator problem. Right now I've got the same problem on my iPad app, on the de开发者_高级运维vice itself. The app has a status bar - but after hiding it in app i can't click/touch in that area (using iOS version 4.2).

Thanks in advance.


If you're desperate enough, you could have your own window on top of the (invisible) status bar and process events in there. Set its windowLevel high enough and you're good to go. However, that might not be a good solution for you, because there's no way to forward touches from one window to another. You might end up having to do a lot of touch handling yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号