How to block incoming SMS in iPhone jailbreak + code

后端 未结 1 1950
孤独总比滥情好
孤独总比滥情好 2020-12-17 04:02

I searched SO before asking this question , there is no answers satisfying my needs.

So this is my requirement ,

I have this piece of code for detecting the

相关标签:
1条回答
  • 2020-12-17 04:58

    You're question isn't clear enough. Do you want them to be dropped completely so they won't even be in the Message App (and the database) or do you just want SpringBoard to not notify the user of an incoming message?

    For the first one you will have to hook the process which actually sends out that notification which you are listening to in your code sniplet. I'm pretty sure that you'll have to tinker with imagent (/System/Library/PrivateFrameworks/IMCore.framework/imagent.app/imagent).

    For the second one you'll have to play around in SpringBoard. Since iOS 5.0 BulletinBoard is handling the notifications to the user, so you could block it there. (You probably wanna check out the SMSBBPlugin which is a BulletinBoard plugin).

    Or just fire up your disassembler of choice and see how tweaks like biteSMS are doing it ;)

    Keep in mind that jailbreak tweak development sometimes requires a lot of reversing and tinkering and most people will keep huge parts of their findings to themselves.

    0 讨论(0)
提交回复
热议问题