0

Does anyone know how to listen to incomming sms on jailbroken iOS? I want to search in its content for an given String and show an alerts if it matches.

Thx, Patrick

PatrickPirker
  • 359
  • 3
  • 15
  • You should class-dump Messages.app, hook it, and post darwin notifications to your app if you find a match (not sure NSNotificationCenter would work between domains) – toasted_flakes Mar 24 '13 at 14:44
  • 1
    maybe this other question helps you http://stackoverflow.com/questions/10122998/how-to-block-incoming-sms-in-iphone-jailbreak-code – tkanzakic Mar 24 '13 at 14:49
  • 1
    @tkanzakic 's link show that the notification I talk about already exist internally, so you could just listen for kCTSMSMessageReceivedNotification :) – toasted_flakes Mar 24 '13 at 14:53
  • See [this Q+A, too](http://stackoverflow.com/q/10681995/119114) – Nate Mar 24 '13 at 23:45

0 Answers0