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.)

Community
  • 1
  • 1

1 Answers1

2

Look at this question:

GSSendEvent - Inject Touch Event iOS

Answer in there explains how to inject touch events.

You can inject several touch events to open a status bar.

Community
  • 1
  • 1
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184