There were many questions about how to programmatically access SMS messages stored on iPhone. After doing a little research, you will quickly and sadly find out that Apple will not allow us to touch the SMS or SMS database due to obvious security concerns. Let this fact be cast aside for a moment.
I have a BMW car equipped with a fantastic "infotainment" system called iDrive. Most recently, I realized that I really can read incoming text messages through the iDrive system when my iPhone is connected to USB. It intrigued me a lot. After playing with the car and the phone configuration, I finally realized that iDrive was actually displaying text messages from the Notification Center. This means that every time I receive a new message, it will be displayed as a notification on the lock screen, and the car will be able to access it, since the Notification Center has public APIs. As soon as I removed the Messages app from the notification, I received nothing.
As many of you thought before, I also wanted to create an application that could track incoming text messages and take some action based on keywords scanned from the message body.
Until now, I was very inclined to switch to Android to free me, however, watching how the machine displaying incoming text messages makes me see some light at the end of the tunnel.
Does anyone know how to create an iOS application that can read notes from the Notification Center? I tried some research, but there seems to be such a broad question that it can be difficult to find specific documentation for the iOS Notification Center.
I should mention that I'm not an experienced iOS developer, so any help would be greatly appreciated.
By the way - I can never understand the official Apple documentation anyway. Kind of confusion to find a complete example of a working application.
Thanks for the help. Fabio
source share