Giter VIP home page Giter VIP logo

Comments (8)

kokoabim avatar kokoabim commented on June 23, 2024

This has been asked before. I really REALLY need to write up a wiki article on how to do this.

from iosopendev.

gitpc988 avatar gitpc988 commented on June 23, 2024

waiting for you``thank you so much`

from iosopendev.

kokoabim avatar kokoabim commented on June 23, 2024

See https://github.com/kokoabim/iOSOpenDev/wiki/Convert-to-iOSOpenDev-Project.

from iosopendev.

gitpc988 avatar gitpc988 commented on June 23, 2024

@kokoabim Thank you.. btw i have a other problem. could you give me some advice?

i use private api send sms with imessagethe private api in the chatkit.framework code pasted.

CKMadridEntity *ckmEntity = [imessageService copyEntityForAddressString:@"18012345678"];

       CKConversation    *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckmEntity] create:TRUE service:imessageService];
        CKMessageComposition   *ckMsgCom= [CKMessageComposition newCompositionForText:@"composition11"];
         CKMadridMessage   * ckmMsg= [imessageService newMessageWithComposition:ckMsgCom forConversation:conversation];
            [imessageService sendMessage:ckmMsg];    

i test that code. can send successbut i can't get message status ,the message send success or fail

my english is poor` forgive me. hope you can understand.

from iosopendev.

kokoabim avatar kokoabim commented on June 23, 2024

Sorry but I won't have time for general coding questions. I suggest getting into IRC channels on irc.saurik.com

from iosopendev.

liangwei1229git avatar liangwei1229git commented on June 23, 2024

照你的代码写了,但是CKConversation *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckmEntity] create:TRUE service:imessageService];到这句的时候会崩溃,请问你知道是什么原因吗?望指教

from iosopendev.

chinaspx avatar chinaspx commented on June 23, 2024

//I was adapting this SMS code to use madrid
CKSMSService *smsService = [CKSMSService sharedSMSService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKSMSEntity *ckEntity = [smsService copyEntityForAddressString:@"555-555-5555"];
CKConversation *conversation = [conversationList conversationForRecipients:[NSArray arrayWithObject:ckEntity] create:TRUE service:smsService];
NSString *groupID = [conversation groupID];
CKSMSMessage *ckMsg = [smsService _newSMSMessageWithText:msg forConversation:conversation];
[smsService sendMessage:ckMsg];
[ckMsg release];
//but CKMadridEntity kept returning nil (psuedo code)
CKMadridService *madridService = [CKMadridService sharedMadridService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKMadridEntity *ckEntity = [madridService copyEntityForAddressString:@"555-555-5555"]; //tried @"[email protected]" too

上述是位同仁的问题,我的问题一样,所以就偷懒直接复制过来了,有谁知道如何处理吗?
研究好久了 希望大神们 不吝打几个字告知!!!

from iosopendev.

liangwei1229git avatar liangwei1229git commented on June 23, 2024

What???

On Fri, Nov 29, 2013 at 11:19 AM, chinaspx [email protected] wrote:

//I was adapting this SMS code to use madrid

CKSMSService *smsService = [CKSMSService sharedSMSService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKSMSEntity *ckEntity = [smsService copyEntityForAddressString:@
"555-555-5555"];
CKConversation *conversation = [conversationList
conversationForRecipients:[NSArray arrayWithObject:ckEntity] create:TRUE
service:smsService];
NSString *groupID = [conversation groupID];
CKSMSMessage *ckMsg = [smsService _newSMSMessageWithText:msg
forConversation:conversation];
[smsService sendMessage:ckMsg];
[ckMsg release];
//but CKMadridEntity kept returning nil (psuedo code)

CKMadridService *madridService = [CKMadridService sharedMadridService];
CKConversationList *conversationList = nil;
conversationList = [CKConversationList sharedConversationList];
CKMadridEntity *ckEntity = [madridService copyEntityForAddressString:@"555-555-5555"];
//tried @"[email protected]" too

上述是位同仁的问题,我的问题一样,所以就偷懒直接复制过来了,有谁知道如何处理吗?
研究好久了 希望大神们 不吝打几个字告知!!!


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-29493942
.

from iosopendev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.