1

I have an app which is in foreground and I want to disable notification center UI in it (so a user can't open it). And I am looking for an API (or at least direction of search) to disable notification center UI or prevent a user from opening it.

Couple of important notes:

  • I am looking for a way to disable it completely within an app.

    Just setting status bar to hidden and moving it to the left doesn't work for me. It still could be accessed.

  • I want just to disable it and don't modify any behavior.

    So, kiosk mode does't work for me either.

  • Private API (not jailbreak tweaks) are fine.

Community
  • 1
  • 1
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
  • You might try swizzling some status bar methods. – CodaFi Mar 27 '13 at 17:51
  • @CodaFi: Interesting idea. However, I think notification center UI isn't status bar thing (even if statusbar is hidden, you still can open notification center). Anyway, I will try it. – Victor Ronin Mar 27 '13 at 20:46
  • They've got to be detecting touches on that thing somehow. If you can swizzle the handler into an empty method, then no more notification center – CodaFi Mar 27 '13 at 20:50
  • So, just to be clear, what you want is when you are running one particular app (that app is in the foreground), then the user should have no way to get to the Notification Center UI. Right? – Nate Mar 27 '13 at 21:31
  • @Nate: Actually, this app is in foreground and while I am in this app, I want to disable notification center UI. (I will update the question) – Victor Ronin Mar 27 '13 at 21:43

0 Answers0