ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 1. **申请 Key (Apply for key)** MHSDK 需要鉴权后方可使用,4.0.0及以上版本需要Key和APP ID。Key和AppID 需要与商务经理沟通。目前分为精简版、基础版、标准版、专业版、定制版。 MHSDK can only be used after authentication. Version 4.0.0 and above requires key and app ID. Key and appid need to communicate with the business manager. At present, it is divided into simplified version, basic version, Standard Version, professional version and customized version. ## 2. **检查和使用SDK 资源 (Check and use SDK resources)** iOS 版本的文件包含中文版界面、英文版界面。两种版本是界面风格不同,功能是一样的。可以联系商务经理查看官方Demo演示。两个版本都是包含语言包,可以进行语言切换。请您根据自己的应用场景进行选择。 The files of iOS version include Chinese version interface and English version interface. The two versions have different interface styles and the same functions. You can contact the business manager to view the official demo presentation. Both versions contain language packs and can switch languages. Please select your own application scenario. 1) iOS 版本SDK 包含:Framework文件夹、MHResources 文件夹,这两个必须导入项目中。 The iOS version SDK includes: Framework folder, MHResources folder, These two must be imported into the project。 2) KSYMHBeauty\_金山(jinshan)文件夹(如果项目没有用到金山直播 SDK,则不需要导入),FUCamera(如果项目没有用到声网SDK,则不需要导入)。 KSYMHBeauty\_金山(jinshan) folder (if the project does not use Jinshan live SDK, it does not need to be imported),FUCamera -Agora (sound network) (if the project does not use the sound network SDK, it does not need to be imported) 3) 先确定语言版本,按照语言要求将对应文件里的UI和图片资源(bundle文件)导入项目中。 First determine the language version, and import the UI and picture resources (bundle file) in the corresponding file into the project according to the language requirements. 说明:美狐的语言切换功能设定是两套UI,所以如果需要进行切换,需要导入资源后,在项目中初始化MHMeiyanMenusView和BeautyFoxMenusView,完善切换不同的语言环境下显示不同的UI。 Tip:The language switching function of Meihu is set to two sets of UI, so if you need to switch, you need to import resources。Initialize MHMeiyanMenusView and BeautyFoxMenusView in the project to improve the switching and display different UI in different language environments.