这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 | 后一修订版 两侧同时换到之后的修订记录 | ||
im_ios_sdk指南 [2016/03/17 04:40] tangbing [3.4、消息操作] |
im_ios_sdk指南 [2016/03/17 07:05] tangbing |
||
---|---|---|---|
行 685: | 行 685: | ||
UCSCustomMsg * customMsg = [[UCSCustomMsg alloc] initWithData:data]; | UCSCustomMsg * customMsg = [[UCSCustomMsg alloc] initWithData:data]; | ||
[[UCSIMClient sharedIM] sendMessage:<#(UCS_IM_ConversationType)#> receiveId:<#(NSString *)#> msgType:UCS_IM_Custom content:customMsg success:^(long long messageId) { | [[UCSIMClient sharedIM] sendMessage:<#(UCS_IM_ConversationType)#> receiveId:<#(NSString *)#> msgType:UCS_IM_Custom content:customMsg success:^(long long messageId) { | ||
- | //succe, do somethings | + | //success, do somethings |
} failure:^(UCSError *error, long long messageId) { | } failure:^(UCSError *error, long long messageId) { | ||
//failed, do somethings | //failed, do somethings |