Commit 844017c8d416d6a2bcbf932d217846ff58a7fc21

Authored by 王军波
1 parent 17098ecc

SDK

VLionADSDKDemo/VLionADSDKDemo.xcodeproj/project.pbxproj
@@ -11,8 +11,8 @@ @@ -11,8 +11,8 @@
11 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */; }; 11 81DC51D31F95FB7E0060EBE3 /* NativeAdListsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D01F95FB7D0060EBE3 /* NativeAdListsController.m */; };
12 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */; }; 12 81DC51D41F95FB7E0060EBE3 /* BannerADController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */; };
13 D2188EA41F9F1CA8006BF9C8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2188EA31F9F1CA8006BF9C8 /* ViewController.m */; }; 13 D2188EA41F9F1CA8006BF9C8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2188EA31F9F1CA8006BF9C8 /* ViewController.m */; };
14 - D2B5B31B1FC3F9EF00189A37 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2B5B31A1FC3F9EF00189A37 /* VLionADSDK.framework */; };  
15 - D2B5B31D1FC3F9F400189A37 /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2B5B31A1FC3F9EF00189A37 /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 + D29CDE361FCFB41900E6A015 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CDE351FCFB41900E6A015 /* VLionADSDK.framework */; };
  15 + D29CDE381FCFB43200E6A015 /* VLionADSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D29CDE351FCFB41900E6A015 /* VLionADSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; }; 16 D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; };
17 D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; }; 17 D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; };
18 D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; }; 18 D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; };
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 dstPath = ""; 27 dstPath = "";
28 dstSubfolderSpec = 10; 28 dstSubfolderSpec = 10;
29 files = ( 29 files = (
30 - D2B5B31D1FC3F9F400189A37 /* VLionADSDK.framework in Embed Frameworks */, 30 + D29CDE381FCFB43200E6A015 /* VLionADSDK.framework in Embed Frameworks */,
31 ); 31 );
32 name = "Embed Frameworks"; 32 name = "Embed Frameworks";
33 runOnlyForDeploymentPostprocessing = 0; 33 runOnlyForDeploymentPostprocessing = 0;
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BannerADController.h; sourceTree = "<group>"; }; 41 81DC51D11F95FB7E0060EBE3 /* BannerADController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BannerADController.h; sourceTree = "<group>"; };
42 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BannerADController.m; sourceTree = "<group>"; }; 42 81DC51D21F95FB7E0060EBE3 /* BannerADController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BannerADController.m; sourceTree = "<group>"; };
43 D2188EA31F9F1CA8006BF9C8 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; 43 D2188EA31F9F1CA8006BF9C8 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
44 - D2B5B31A1FC3F9EF00189A37 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; }; 44 + D29CDE351FCFB41900E6A015 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; };
45 D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
46 D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; 46 D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
47 D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; 47 D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 isa = PBXFrameworksBuildPhase; 58 isa = PBXFrameworksBuildPhase;
59 buildActionMask = 2147483647; 59 buildActionMask = 2147483647;
60 files = ( 60 files = (
61 - D2B5B31B1FC3F9EF00189A37 /* VLionADSDK.framework in Frameworks */, 61 + D29CDE361FCFB41900E6A015 /* VLionADSDK.framework in Frameworks */,
62 ); 62 );
63 runOnlyForDeploymentPostprocessing = 0; 63 runOnlyForDeploymentPostprocessing = 0;
64 }; 64 };
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@
92 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = { 92 D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = {
93 isa = PBXGroup; 93 isa = PBXGroup;
94 children = ( 94 children = (
95 - D2B5B31A1FC3F9EF00189A37 /* VLionADSDK.framework */, 95 + D29CDE351FCFB41900E6A015 /* VLionADSDK.framework */,
96 817BA9931F9606AB00599550 /* VLionAdImg.bundle */, 96 817BA9931F9606AB00599550 /* VLionAdImg.bundle */,
97 D2ED41631F95F3BD00803E9D /* AppDelegate.h */, 97 D2ED41631F95F3BD00803E9D /* AppDelegate.h */,
98 D2ED41641F95F3BD00803E9D /* AppDelegate.m */, 98 D2ED41641F95F3BD00803E9D /* AppDelegate.m */,
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/Headers/VLionManager.h
@@ -153,6 +153,18 @@ typedef void(^VLionNativeAdInformationFlowHandler)(VLionNativeAdInformationFlowM @@ -153,6 +153,18 @@ typedef void(^VLionNativeAdInformationFlowHandler)(VLionNativeAdInformationFlowM
153 */ 153 */
154 - (void)vl_nativeAdInformationFlowWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdInformationFlowHandler _Nullable)handler; 154 - (void)vl_nativeAdInformationFlowWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdInformationFlowHandler _Nullable)handler;
155 155
  156 +
  157 +/**
  158 + 点击原生广告跳转
  159 +
  160 + @param model 原生模型
  161 + @param upPoint 手势离开屏幕坐标(坐标原点为广告视图左上角)
  162 + @param downPoint 手势接触屏幕坐标(坐标原点为广告视图左上角)
  163 + @param viewController 跳转的控制器
  164 + @param adBackBlock 返回回调
  165 + */
  166 +- (void)clickNativedAdWithModel:(id _Nonnull)model upPoint:(CGPoint)upPoint downPoint:(CGPoint)downPoint viewController:(UIViewController *_Nonnull)viewController adBackBlock:(void (^_Nullable)(void))adBackBlock;
  167 +
156 #pragma mark - 缓存清除及大小 168 #pragma mark - 缓存清除及大小
157 /** 169 /**
158 * 清除VLionAd本地缓存(图片,gif,视频) 170 * 清除VLionAd本地缓存(图片,gif,视频)
VLionADSDKDemo/VLionADSDKDemo/VLionADSDK.framework/VLionADSDK
No preview for this file type