4

Is there a way to expand/collapse statusbar programmatically? This is just for my experimental app. I do not intend to place it on the market.

Thanks

Edit: I mean expanding it as when a user touches and pulls it down.

In Android, I have seen it's doable: How to open or expand status bar through intent? and Preventing status bar expansion. So, I like to know if it's possible on iOS.

(I prefer it works on non-jailbreak phones but any idea from jailbreak guys is very welcome.)

4

1 回答 1

2

看这个问题:

GSSendEvent - 注入触摸事件 iOS

那里的答案解释了如何注入触摸事件。

您可以注入几个触摸事件来打开状态栏。

于 2013-04-26T17:04:39.373 回答