Commit c73164f8 by zhangyunjie

2.5.9.2

parent 0a3f2c85
......@@ -23,8 +23,8 @@
[self.window makeKeyAndVisible];
//中公直播使用测试环境设置为YES,正式环境设置为NO或者去掉这个配置
[OffcnLiveSDK defaultService].isTest = YES;
//启动SDK
[[OffcnLiveSDK defaultService] setupWithAppUrlSchemes:@"" imageType:OffcnImageType_e60012 buttonType:OffcnButtonTypeRadius isTest:YES];
return YES;
}
......
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnLiveSDKiOS'
s.version = '2.5.9.1'
s.version = '2.5.9.2'
s.summary = 'OffcnLiveSDKiOS.'
s.description = <<-DESC
......
......@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import "OffcnShareWindow.h"
static const NSString *OffcnLiveSDKVersion = @"2.5.9.1";
static const NSString *OffcnLiveSDKVersion = @"2.5.9.2";
@interface OffcnPlaybackModel : NSObject
//口令
......@@ -82,6 +82,8 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
@property (nonatomic, assign) BOOL isSmallWindow;
@property (nonatomic, assign) CGRect shareWindowFrame;
@property (nonatomic, strong) UIWindow *KKeyWindow;//获取自定义window
@property (nonatomic, strong) UIWindow *oldKKeyWindow;//三方的window
@property (nonatomic, strong) UIViewController *shareVC;
//是否支持全屏
@property (nonatomic, assign) BOOL isFull;
......@@ -111,10 +113,11 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
/// 启动sdk
/// @param appUrlSchemes app设置的UrlSchemes
/// @param imageType 主色调类型
/// @param buttonType 按钮样式
/// @param isTest 是否选用测试环境
-(void)setupWithImageType:(OffcnImageType)imageType buttonType:(OffcnButtonType)buttonType isTest:(BOOL)isTest;
-(void)setupWithAppUrlSchemes:(NSString *)appUrlSchemes imageType:(OffcnImageType)imageType buttonType:(OffcnButtonType)buttonType isTest:(BOOL)isTest;
/**
登录授权
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment