以编程方式显示控制中心和通知中心

时间:2014-11-09 20:04:15

标签: ios objective-c jailbreak theos

如何以编程方式显示Control Center和Notification Center,适用于iOS 8?

2 个答案:

答案 0 :(得分:2)

这可能就是你要找的东西:

-[SBControlCenterController presentAnimated:]

-[SBNotificationCenterController presentAnimated:]

答案 1 :(得分:1)

这就是我在调整中使用的名为CCLiveBrightness的内容。

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

可以找到一个等效的方法来显示控制中心。