Commit 6d24fadc43561c0093948305ba01f19988febede

Authored by wangJunBo
1 parent 2d50649f

no message

VLionADSDKDemo/VLionADSDKDemo.xcodeproj/project.pbxproj
... ... @@ -11,23 +11,23 @@
11 11 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */; };
12 12 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */; };
13 13 D2188EA41F9F1CA8006BF9C8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2188EA31F9F1CA8006BF9C8 /* ViewController.m */; };
14   - D292A0F91FB2E763009D491E /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D292A0F81FB2E763009D491E /* VLionADSDK.framework */; };
15   - D292A0FB1FB2E76A009D491E /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D292A0F81FB2E763009D491E /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16 14 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; };
17 15 D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; };
18 16 D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; };
19 17 D2ED41701F95F3BD00803E9D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */; };
20 18 D2ED41731F95F3BD00803E9D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41721F95F3BD00803E9D /* main.m */; };
  19 + DCE250411FBC3C5400E27BDE /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCE250401FBC3C5400E27BDE /* VLionADSDK.framework */; };
  20 + DCE250431FBC3C5900E27BDE /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DCE250401FBC3C5400E27BDE /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
21 21 /* End PBXBuildFile section */
22 22  
23 23 /* Begin PBXCopyFilesBuildPhase section */
24   - D21385681F960B9E006D7DFF /* Embed Frameworks */ = {
  24 + DCE2503F1FBC37C500E27BDE /* Embed Frameworks */ = {
25 25 isa = PBXCopyFilesBuildPhase;
26 26 buildActionMask = 2147483647;
27 27 dstPath = "";
28 28 dstSubfolderSpec = 10;
29 29 files = (
30   - D292A0FB1FB2E76A009D491E /* VLionADSDK.framework in Embed Frameworks */,
  30 + DCE250431FBC3C5900E27BDE /* VLionADSDK.framework in Embed Frameworks */,
31 31 );
32 32 name = "Embed Frameworks";
33 33 runOnlyForDeploymentPostprocessing = 0;
... ... @@ -41,7 +41,6 @@
41 41 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BannerADController.h; sourceTree = "<group>"; };
42 42 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BannerADController.m; sourceTree = "<group>"; };
43 43 D2188EA31F9F1CA8006BF9C8 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
44   - D292A0F81FB2E763009D491E /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; };
45 44 D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
46 45 D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
47 46 D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
... ... @@ -51,6 +50,7 @@
51 50 D2ED416F1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
52 51 D2ED41711F95F3BD00803E9D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
53 52 D2ED41721F95F3BD00803E9D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  53 + DCE250401FBC3C5400E27BDE /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; };
54 54 /* End PBXFileReference section */
55 55  
56 56 /* Begin PBXFrameworksBuildPhase section */
... ... @@ -58,7 +58,7 @@
58 58 isa = PBXFrameworksBuildPhase;
59 59 buildActionMask = 2147483647;
60 60 files = (
61   - D292A0F91FB2E763009D491E /* VLionADSDK.framework in Frameworks */,
  61 + DCE250411FBC3C5400E27BDE /* VLionADSDK.framework in Frameworks */,
62 62 );
63 63 runOnlyForDeploymentPostprocessing = 0;
64 64 };
... ... @@ -92,7 +92,7 @@
92 92 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = {
93 93 isa = PBXGroup;
94 94 children = (
95   - D292A0F81FB2E763009D491E /* VLionADSDK.framework */,
  95 + DCE250401FBC3C5400E27BDE /* VLionADSDK.framework */,
96 96 817BA9931F9606AB00599550 /* VLionAdImg.bundle */,
97 97 D2ED41631F95F3BD00803E9D /* AppDelegate.h */,
98 98 D2ED41641F95F3BD00803E9D /* AppDelegate.m */,
... ... @@ -121,7 +121,7 @@
121 121 D2ED415C1F95F3BD00803E9D /* Sources */,
122 122 D2ED415D1F95F3BD00803E9D /* Frameworks */,
123 123 D2ED415E1F95F3BD00803E9D /* Resources */,
124   - D21385681F960B9E006D7DFF /* Embed Frameworks */,
  124 + DCE2503F1FBC37C500E27BDE /* Embed Frameworks */,
125 125 );
126 126 buildRules = (
127 127 );
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionAdConfiguration.h
... ... @@ -42,6 +42,11 @@ typedef NS_ENUM(NSUInteger, AdSkipButtonType) {
42 42 AdSkipButtonTypeTimeAndText = 4 //倒计时 + 跳过
43 43 };
44 44  
  45 +typedef NS_ENUM(NSUInteger, WebAdContentMode) {
  46 + WebAdContentModeFill, //填充
  47 + WebAdContentModeFit, //自适应
  48 +};
  49 +
45 50 @interface VLionAdConfiguration : NSObject
46 51  
47 52 + (VLionAdConfiguration *)defaultConfiguration;
... ... @@ -73,6 +78,12 @@ typedef NS_ENUM(NSUInteger, AdSkipButtonType) {
73 78 */
74 79 @property (nonatomic, assign) BOOL GIFImageCycleOnce;
75 80  
  81 +#pragma mark - Web广告相关
  82 +/**
  83 + * web广告缩放模式(default WebAdContentModeFill) (仅对web广告设置有效)
  84 + */
  85 +@property(nonatomic,assign)WebAdContentMode webContentMode;
  86 +
76 87 #pragma mark - 图片广告相关
77 88 /**
78 89 * 图片广告缩放模式(default UIViewContentModeScaleToFill) (仅对图片广告设置有效)
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionManager.h
... ... @@ -40,7 +40,9 @@ typedef void(^VLionNativeAdInformationFlowHandler)(VLionNativeAdInformationFlowM
40 40 @param completeBlock 广告数据回调 window:SDK内部创建的广告位容器window,设置此window的大小可重新设置开屏广告的大小 w:广告物料的宽(单位px) h:广告物料的高(单位px)
41 41 @param successBlock 加载成功回调
42 42 @param failedBlock 失败回调,errorDic:错误信息
43   - @param finishBlock 开屏广告完成回调
  43 + @param finishBlock 开屏广告,未点击,读秒结束,完成回调
  44 + @param adClickBlock 点击广告回调
  45 + @param adBackBlock 广告跳转web页后返回回调
44 46 */
45 47 - (void)vl_setupLaunchAdWithTagId:(NSString *_Nonnull)tagId
46 48 configuration:(VLionAdConfiguration *_Nonnull)configuration
... ... @@ -167,5 +169,7 @@ typedef void(^VLionNativeAdInformationFlowHandler)(VLionNativeAdInformationFlowM
167 169 */
168 170 +(NSString *_Nullable)vlAdCachePath;
169 171  
  172 ++ (NSString *_Nullable)getVLionSDKVersion;
  173 +
170 174 @end
171 175  
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdAppWallModel.h
... ... @@ -19,6 +19,8 @@
19 19 @property (nonatomic ,assign) int tagid;//广告位id
20 20 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址
21 21 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址
  22 +@property (nonatomic ,assign) int interact_type;//点击行为0-网页,1-下载
  23 +
22 24 + (VLionNativeAdAppWallModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data;
23 25 @end
24 26  
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdInformationFlowModel.h
... ... @@ -18,6 +18,7 @@
18 18 @property (nonatomic ,assign) int tagid;//广告位id
19 19 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址
20 20 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址
  21 +@property (nonatomic ,assign) int interact_type;//点击行为0-网页,1-下载
21 22  
22 23 + (VLionNativeAdInformationFlowModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data;
23 24 @end
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdNativeModel.h
... ... @@ -31,6 +31,7 @@ typedef NS_ENUM(NSUInteger, NativeType) {
31 31 @property (nonatomic ,copy) NSString * _Nullable button;//按钮标题
32 32 @property (nonatomic ,assign) int download_count;//下载次数
33 33 @property (nonatomic ,copy) NSString * _Nullable app_download_url ;//下载地址,和ldp二选一
  34 +
34 35 + (VLionNativeAdNativeModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data type:(NativeType)type;
35 36 @end
36 37 //信息流
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdNewsModel.h
... ... @@ -19,6 +19,7 @@
19 19 @property (nonatomic ,assign) int tagid;//广告位id
20 20 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址
21 21 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址
  22 +@property (nonatomic ,assign) int interact_type;//点击行为0-网页,1-下载
22 23 + (VLionNativeAdNewsModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data;
23 24 @end
24 25  
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdShufflingModel.h
... ... @@ -17,7 +17,7 @@
17 17 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址
18 18 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址
19 19 @property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生
20   -
  20 +@property (nonatomic ,assign) int interact_type;//点击行为0-网页,1-下载
21 21 + (VLionNativeAdShufflingModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data;
22 22 @end
23 23  
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionNativeAdWaterfallModel.h
... ... @@ -17,5 +17,6 @@
17 17 @property (nonatomic ,assign) int tagid;//广告位id
18 18 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址
19 19 @property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址
  20 +@property (nonatomic ,assign) int interact_type;//点击行为0-网页,1-下载
20 21 + (VLionNativeAdWaterfallModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data;
21 22 @end
... ...
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Info.plist
No preview for this file type
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/VLionADSDK
No preview for this file type