I was wondering, what header/function I have to hook into to customize or block banner notifications in iOS 5? I have tried many functions so far but none of them seem to work anymore.
Any help is truly appreciated.
THX!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try hooking – (void)_presentBannerForItem:(id)arg1 method within SBBulletinBannerController. If you are using Theos, then the following code snippet should prevent the banner notification from being presented. For more control, look into other methods in this class