即时通讯-环信
来源:互联网 发布:淘宝网网址是什么 编辑:程序博客网 时间:2024/06/13 20:29
1.cocoapod导入库
cd /Users/kauriHealth/Desktop/hxdemo
pod init 修改Podfile文件,添加
pod 'HyphenateLite'pod 'EaseUI', :git => 'https://github.com/easemob/easeui-ios-hyphenate-cocoapods.git'pod 'Realm'
pod install
2.AppDelegate.h
- 注册的AppKey
EMOptions *options = [EMOptions optionsWithAppkey:@"#######@*******"]; // options.apnsCertName = @"testdemo"; [[EMClient sharedClient] initializeSDKWithOptions:options];
- 登录环信系统
[[EMClient sharedClient] loginWithUsername:@"" password:@"" completion:nil];
3.聊天界面
HWDEaseMessageViewController *chatController = [[HWDEaseMessageViewController alloc] initWithConversationChatter:@"testtwo" conversationType:EMConversationTypeChat]; chatController.hidesBottomBarWhenPushed = YES; [self.navigationController pushViewController:chatController animated:YES];
4. 聊天列表
HWDEaseConversationListViewController * vc = [[HWDEaseConversationListViewController alloc] init]; [self.navigationController pushViewController:vc animated:YES];
5.远程仓库
create a new repository on the command line
echo "# hxdemo" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/lvkklemo/hxdemo.gitgit push -u origin master
阅读全文
0 0
- 环信即时通讯云
- 即时通讯(环信) bug
- 环信即时通讯
- 环信即时通讯
- 环信即时通讯聊天记录
- 即时通讯-环信
- 03-即时通讯 环信集成
- iOS开发-即时通讯环信
- 环信即时通讯集成过程
- Android-IM即时通讯:环信
- Android- 环信IM即时通讯(1)
- Android- 环信IM即时通讯_RESTAPI(2)
- iOS开发之即时通讯之环信
- 7、环信IM即时通讯包
- 环信--即时通讯平台
- 环信即时通讯的基本集成
- iOS:即时通讯之<掌握篇 环信>
- iOS开发:环信实现即时通讯
- BZOJ 1801 AHOI2009 Chess 中国象棋
- 多条目展示,banner和一些条目
- 使用 Githook 实现团队 Coding Review 流程
- C#数据库连接基本操作
- 5. uwsgi 部署 web 应用
- 即时通讯-环信
- 不用乘除及取模操作实现两个整数的相除
- String.format() 字符串格式化 实例
- Oracle_SQL_day02_SQL函数
- vs2013 配置并编译geos-3.6.2
- 序列化serialVersionUID
- JAVA 多线程(一) ThreadPoolExecutor 原理分析
- 判断网络
- Tomcat目录结构