Suu
Suu

Reputation: 56

Show Control Centre and Notification Centre programmatically

How to show Control Centre and Notification Centre programmatically, for iOS 8?

Upvotes: 2

Views: 347

Answers (2)

fewjative
fewjative

Reputation: 1

This is what I use in my tweak called CCLiveBrightness.

[[%c(SpringBoard) sharedApplication] _runControlCenterDismissTest];

An equivalent method can be found to show the Control Center.

Upvotes: 0

twodayslate
twodayslate

Reputation: 2833

This might be what you are looking for:

-[SBControlCenterController presentAnimated:]

-[SBNotificationCenterController presentAnimated:]

Upvotes: 1

Related Questions