简单使用

简单使用

登录成功后可以使用SDK内部业务,以下为简单业务场景调用。

首页

/**
* 消息
*/
- (IBAction)goMsg:(UIButton *)sender {
[[HtImClientManager shareInstance] goMsgView];
}


消息

/**
* 消息
*/
- (IBAction)goMsg:(UIButton *)sender {
[[HtImClientManager shareInstance] goMsgView];
}


通讯录

/**
* 通讯录
*/
- (IBAction)goAddress:(UIButton *)sender {
[[HtImClientManager shareInstance] goAddressView];
}


发起聊天

/**
* 发起聊天
*/
- (IBAction)goChat:(UIButton *)sender {
// 选人聊天
[[HtImClientManager shareInstance] goChatView];
// 传入联系人id直接聊天
// [[HtImClientManager shareInstance] goChatViewWith:@"zzc"];
}


扫一扫

/**
* 扫一扫
*/
- (IBAction)goScan:(UIButton *)sender {
[[HtImClientManager shareInstance] goScanCallBlock:^(NSInteger type, id response) {

}];
}


发送邮件

/**
* 发送邮件
*/
- (IBAction)goMail:(UIButton *)sender {
[[HtImClientManager shareInstance] goSendMailView];
}


待办列表

/**
* 待办
*/
- (IBAction)goTodo:(UIButton *)sender {
[[HtImClientManager shareInstance] goTodoView];
}


起草申请

/**
* 发起申请
*/
- (IBAction)goApply:(UIButton *)sender {
[[HtImClientManager shareInstance] goApplyView];
}


信息发布

/**
* 信息发布
*/
- (IBAction)goInformation:(UIButton *)sender {
[[HtImClientManager shareInstance] goSendNotice];
}