问题
Having spent a couple of months on the internet and stackoverflow, I cannot find a way to send an SMS from an iPhone with iOS 6 (6.1 to be precise) when an event occurs or with a tweak. I've read that apple has changed the way SMS messages are being processed since iOS 5 and to be specific
The main difficulty comes from the fact that Apple introduces an IPC mechanism in iOS 6 that resembles the "Share" functionality in Android. Unlike before where sending an SMS is a direct call in SpringBoard process, now Apple uses what is internally called as RemoteViewController's to implement such functionality. RemoteViewController's run in separate processes and expose NO interface as in iOS 4/5 for sending SMS's so it will be useless to just hook SpringBoard process. This design is applied to SMS, e-mail, Twitter, Facebook, Sina Weibo, etc. sharing interface.
Quoted from https://github.com/mrzzheng/GVExtensions/wiki/GV-Extensions-on-iOS-6.
Please do not post answers having to do with MFMessageComposeViewController
it is not what I am looking for! What I am looking for, is the private headers that can be used to perform the task (have read somewhere that it may be able to accomplish it using the ChatKit
and the IMCore
frameworks).
Lastly, before saying that it cannot be done, take a look at the iRealSMS and HandcentSMS apps available for free on Cydia, doing exactly what I am talking about.
Thank you in advance!
来源:https://stackoverflow.com/questions/18383462/automatically-send-sms-on-ios-6-jailbreak