简体   繁体   English

如何在iPhone上挂接来自IM的传入消息?

[英]How do I Hook incoming messages from IM on iphone?

In regards to mobilesubstrate i was able to successfully hook Incoming SMS through the ChatKit Framwork /CKSMSService but this does not work when a message comes through as a iMessage.. Can anyone help me find the right framework and class that deals with incoming iMessages? 关于移动基板,我能够通过ChatKit Framwork / CKSMSService成功地挂接传入的SMS,但是当消息作为iMessage传入时这是行不通的。有人能帮我找到处理传入的iMessage的正确框架和类吗? I have hooked some IMCore classes but am unable to find a method that deals with the message just coming in... 我已经钩住了一些IMCore类,但是找不到找到处理消息的方法。

I would start by looking here 我将从这里开始

and also taking a look at the CKMadridService.h header file . 还要看一下CKMadridService.h头文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM