// // HxChatDemo-Prefix.pch // TianLing_App // // Created by 刘荣毅 on 2017/11/30. // Copyright © 2017年 Liu. All rights reserved. // #ifndef HxChatDemo_Prefix_pch #define HxChatDemo_Prefix_pch // Include any system framework and library headers here that should be included in all compilation units. // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. #endif /* HxChatDemo_Prefix_pch */ #import #ifndef __IPHONE_3_0 #warning "This project uses features only available in iOS SDK 3.0 and later." #endif // 如果不需要红包功能,直接把这个REDPACKET_AVALABLE宏注释掉,然后: // 1.删掉红包相关代码:注释掉后,建议在xcode中搜索“REDPACKET_AVALABLE”,然后删掉相关代码; //#define REDPACKET_AVALABLE // 如果不需要语音通话功能,直接把这个宏注释掉或者改成0,然后: // 1.删掉音视频相关代码:注释掉后,建议在xcode中搜索“DEMO_CALL”,然后删掉相关代码; // 2.隐藏音视频通话按钮:EaseChatBarMoreView.m 第115-131行代码注释掉。 #define DEMO_CALL 1 // 1:启用音视频通话;0:禁用音视频通话 #ifdef __OBJC__ #import #import #import "ChatUIDefine.h" #import "EMAlertView.h" #import "TTGlobalUICommon.h" #import "EaseUI.h" #if DEMO_CALL == 1 #import // 包含音视频通话功能 #else #import // 不包含音视频通话功能 #endif #import "AVOSCloud/AVOSCloud.h"// 后端云LeanCloud #import "UserCacheManager.h" #import "UserWebManager.h" #endif #import #ifndef __IPHONE_3_0 #warning "This project uses features only available in iOS SDK 3.0 and later." #endif // 如果不需要红包功能,直接把这个REDPACKET_AVALABLE宏注释掉,然后: // 1.删掉红包相关代码:注释掉后,建议在xcode中搜索“REDPACKET_AVALABLE”,然后删掉相关代码; //#define REDPACKET_AVALABLE // 如果不需要语音通话功能,直接把这个宏注释掉或者改成0,然后: // 1.删掉音视频相关代码:注释掉后,建议在xcode中搜索“DEMO_CALL”,然后删掉相关代码; // 2.隐藏音视频通话按钮:EaseChatBarMoreView.m 第115-131行代码注释掉。 #define DEMO_CALL 1 // 1:启用音视频通话;0:禁用音视频通话 #ifdef __OBJC__ #import #import #import "ChatUIDefine.h" #import "EMAlertView.h" #import "TTGlobalUICommon.h" #import "EaseUI.h" #import "ChatUIHelper.h" #if DEMO_CALL == 1 #import // 包含音视频通话功能 #else #import // 不包含音视频通话功能 #endif #import "AVOSCloud/AVOSCloud.h"// 后端云LeanCloud #import "UserCacheManager.h" #import "UserWebManager.h" #endif