Does anyone know if it's possible to directly send an iMessage using a private framework?
I tried using CTMessageCenter
from CoreTelephony
but it'll send an SMS even though my phone can send iMessages.
Does anyone know if it's possible to directly send an iMessage using a private framework?
I tried using CTMessageCenter
from CoreTelephony
but it'll send an SMS even though my phone can send iMessages.
I haven't tested this, but look at the code posted here. If you look at
httpResponseForMethod:URI:
, you see where he/she sends a message (appears to be hardcode to support iOS 5 or iOS 4):The code uses normal SMS, but you can see the following commented out code:
The "Madrid" service is probably what can send iMessages. See the private header here.
Both SMS and iMessage private APIs are in the ChatKit.framework.
Through a non jailbreak iPhone there is absolutely no access to the iMessage CoreTelephony API