diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-10-13 14:49:17 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-10-13 14:49:17 -0700 |
commit | e95025382fd9ff98d7d32e4484828eaca18d10a6 (patch) | |
tree | dd85d46d5b4327cb821f1b388bcdbe7920dd061f | |
parent | 9065bb4466b38159a8fdfd57ce047ed27ab647f2 (diff) |
Add safety to the notification bar.
-rw-r--r-- | MobileSafety.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileSafety.mm b/MobileSafety.mm index 3bc5b41..d866387 100644 --- a/MobileSafety.mm +++ b/MobileSafety.mm @@ -50,6 +50,8 @@ MSMetaClassHook(UIImage) MSClassHook(AAAccountManager) MSMetaClassHook(AAAccountManager) +MSClassHook(BBSectionInfo) + MSClassHook(SBAlertItemsController) MSClassHook(SBButtonBar) MSClassHook(SBIconController) @@ -247,3 +249,7 @@ MSInstanceMessageHook0(void, SBStatusBarTimeView, tile) { _textRect.origin.x = (frame.size.width - size.width) / 2; _textRect.origin.y = (frame.size.height - size.height) / 2; } + +MSInstanceMessageHook0(BOOL, BBSectionInfo, showsInNotificationCenter) { + return NO; +} |