# KlfvDoctor **Repository Path**: w070115230/KlfvDoctor ## Basic Information - **Project Name**: KlfvDoctor - **Description**: No description available - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-21 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # KlfvDoctor [![CI Status](https://img.shields.io/travis/vincent/KlfvDoctor.svg?style=flat)](https://travis-ci.org/vincent/KlfvDoctor) [![Version](https://img.shields.io/cocoapods/v/KlfvDoctor.svg?style=flat)](https://cocoapods.org/pods/KlfvDoctor) [![License](https://img.shields.io/cocoapods/l/KlfvDoctor.svg?style=flat)](https://cocoapods.org/pods/KlfvDoctor) [![Platform](https://img.shields.io/cocoapods/p/KlfvDoctor.svg?style=flat)](https://cocoapods.org/pods/KlfvDoctor) ## Example 1、使用Cocoapods安装 pod 'KlfvDoctor', :git => 'https://gitee.com/w070115230/KlfvDoctor.git' 2、AppDelegate 中引入 #import - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[KLFVideoDoctor shareInstance] klf_settingWithDebug:YES isDevelop:YES]; } 3、在需要用到的ViewController中写入下面代码 [KLFVideoDoctor shareInstance].delegate = self; [[KLFVideoDoctor shareInstance] klf_LoginWithBussinessId:@"供应商id" userId:@"用户id"]; 在ViewController中声明这个代理方法 4、在delegate中回调成功后开始启动视频服务 -(void)klf_canStartDoctorService:(BOOL)canService{ if (canService) { [[KLFVideoDoctor shareInstance] klf_startVideoDoctorWithType:KLFCallTypeAdult]; } } -(void)klf_startDoctorServiceFail:(NSString *)error{ //启动服务失败,给用户提示 } ## Requirements ## Installation KlfvDoctor is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'KlfvDoctor' ``` ## Author vincent, wujia08@qq.com ## License KlfvDoctor is available under the MIT license. See the LICENSE file for more info.