Commit f55fc7bb15713229a92969e1a5d50443196d0983
1 parent
42e11888
no message
Showing
4 changed files
with
47 additions
and
10 deletions
VLionADSDKDemo/VLionADSDKDemo.xcodeproj/project.pbxproj
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | D29BFE701FCFB0F500D3EE1B /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE5F1FCFB0F500D3EE1B /* UIImageView+WebCache.m */; }; | 32 | D29BFE701FCFB0F500D3EE1B /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE5F1FCFB0F500D3EE1B /* UIImageView+WebCache.m */; }; |
| 33 | D29BFE711FCFB0F500D3EE1B /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE611FCFB0F500D3EE1B /* UIView+WebCacheOperation.m */; }; | 33 | D29BFE711FCFB0F500D3EE1B /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE611FCFB0F500D3EE1B /* UIView+WebCacheOperation.m */; }; |
| 34 | D29BFE741FCFB14B00D3EE1B /* UIView+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE731FCFB14A00D3EE1B /* UIView+Extension.m */; }; | 34 | D29BFE741FCFB14B00D3EE1B /* UIView+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = D29BFE731FCFB14A00D3EE1B /* UIView+Extension.m */; }; |
| 35 | - D2EC152120BBBD2E00ADD642 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2EC152020BBBD2E00ADD642 /* VLionADSDK.framework */; }; | 35 | + D2A7B9EA20BBE1CE00EE6100 /* VLionADSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2A7B9E920BBE1CE00EE6100 /* VLionADSDK.framework */; }; |
| 36 | D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; }; | 36 | D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; }; |
| 37 | D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; }; | 37 | D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; }; |
| 38 | D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; }; | 38 | D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; }; |
| @@ -103,7 +103,7 @@ | @@ -103,7 +103,7 @@ | ||
| 103 | D29BFE611FCFB0F500D3EE1B /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; }; | 103 | D29BFE611FCFB0F500D3EE1B /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; }; |
| 104 | D29BFE721FCFB14A00D3EE1B /* UIView+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+Extension.h"; sourceTree = "<group>"; }; | 104 | D29BFE721FCFB14A00D3EE1B /* UIView+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+Extension.h"; sourceTree = "<group>"; }; |
| 105 | D29BFE731FCFB14A00D3EE1B /* UIView+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+Extension.m"; sourceTree = "<group>"; }; | 105 | D29BFE731FCFB14A00D3EE1B /* UIView+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+Extension.m"; sourceTree = "<group>"; }; |
| 106 | - D2EC152020BBBD2E00ADD642 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; }; | 106 | + D2A7B9E920BBE1CE00EE6100 /* VLionADSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionADSDK.framework; sourceTree = "<group>"; }; |
| 107 | D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 107 | D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 108 | D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | 108 | D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; |
| 109 | D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | 109 | D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; |
| @@ -120,7 +120,7 @@ | @@ -120,7 +120,7 @@ | ||
| 120 | isa = PBXFrameworksBuildPhase; | 120 | isa = PBXFrameworksBuildPhase; |
| 121 | buildActionMask = 2147483647; | 121 | buildActionMask = 2147483647; |
| 122 | files = ( | 122 | files = ( |
| 123 | - D2EC152120BBBD2E00ADD642 /* VLionADSDK.framework in Frameworks */, | 123 | + D2A7B9EA20BBE1CE00EE6100 /* VLionADSDK.framework in Frameworks */, |
| 124 | ); | 124 | ); |
| 125 | runOnlyForDeploymentPostprocessing = 0; | 125 | runOnlyForDeploymentPostprocessing = 0; |
| 126 | }; | 126 | }; |
| @@ -194,7 +194,7 @@ | @@ -194,7 +194,7 @@ | ||
| 194 | D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = { | 194 | D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = { |
| 195 | isa = PBXGroup; | 195 | isa = PBXGroup; |
| 196 | children = ( | 196 | children = ( |
| 197 | - D2EC152020BBBD2E00ADD642 /* VLionADSDK.framework */, | 197 | + D2A7B9E920BBE1CE00EE6100 /* VLionADSDK.framework */, |
| 198 | 817BA9931F9606AB00599550 /* VLionAdImg.bundle */, | 198 | 817BA9931F9606AB00599550 /* VLionAdImg.bundle */, |
| 199 | D29BFE401FCFB0F500D3EE1B /* SDWebImage */, | 199 | D29BFE401FCFB0F500D3EE1B /* SDWebImage */, |
| 200 | D2ED41631F95F3BD00803E9D /* AppDelegate.h */, | 200 | D2ED41631F95F3BD00803E9D /* AppDelegate.h */, |
| @@ -479,7 +479,7 @@ | @@ -479,7 +479,7 @@ | ||
| 479 | "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage", | 479 | "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage", |
| 480 | ); | 480 | ); |
| 481 | INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; | 481 | INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; |
| 482 | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; | 482 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 483 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 483 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 484 | OTHER_LDFLAGS = "-ObjC"; | 484 | OTHER_LDFLAGS = "-ObjC"; |
| 485 | PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; | 485 | PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; |
| @@ -507,7 +507,7 @@ | @@ -507,7 +507,7 @@ | ||
| 507 | "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage", | 507 | "$(PROJECT_DIR)/VLionAdSDKDemo/SDWebImage", |
| 508 | ); | 508 | ); |
| 509 | INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; | 509 | INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; |
| 510 | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; | 510 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 512 | OTHER_LDFLAGS = "-ObjC"; | 512 | OTHER_LDFLAGS = "-ObjC"; |
| 513 | PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; | 513 | PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; |
VLionADSDKDemo/VLionADSDKDemo/Info.plist
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | <key>CFBundlePackageType</key> | 17 | <key>CFBundlePackageType</key> |
| 18 | <string>APPL</string> | 18 | <string>APPL</string> |
| 19 | <key>CFBundleShortVersionString</key> | 19 | <key>CFBundleShortVersionString</key> |
| 20 | - <string>1.1.2</string> | 20 | + <string>1.2.0</string> |
| 21 | <key>CFBundleURLTypes</key> | 21 | <key>CFBundleURLTypes</key> |
| 22 | <array> | 22 | <array> |
| 23 | <dict> | 23 | <dict> |
| @@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
| 28 | </dict> | 28 | </dict> |
| 29 | </array> | 29 | </array> |
| 30 | <key>CFBundleVersion</key> | 30 | <key>CFBundleVersion</key> |
| 31 | - <string>1.1.2.120517</string> | 31 | + <string>1.2.0.180528</string> |
| 32 | <key>LSRequiresIPhoneOS</key> | 32 | <key>LSRequiresIPhoneOS</key> |
| 33 | <true/> | 33 | <true/> |
| 34 | <key>NSAppTransportSecurity</key> | 34 | <key>NSAppTransportSecurity</key> |
| @@ -45,8 +45,6 @@ | @@ -45,8 +45,6 @@ | ||
| 45 | <key>UISupportedInterfaceOrientations</key> | 45 | <key>UISupportedInterfaceOrientations</key> |
| 46 | <array> | 46 | <array> |
| 47 | <string>UIInterfaceOrientationPortrait</string> | 47 | <string>UIInterfaceOrientationPortrait</string> |
| 48 | - <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 49 | - <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 50 | </array> | 48 | </array> |
| 51 | <key>UISupportedInterfaceOrientations~ipad</key> | 49 | <key>UISupportedInterfaceOrientations~ipad</key> |
| 52 | <array> | 50 | <array> |
VLionAdSDKDemo/VLionAdSDKDemo/VLionADSDK.framework/Headers/VLionAdBannerView.h
0 → 100644
| 1 | +// | ||
| 2 | +// VLionAdBannerView.h | ||
| 3 | +// VLionADSDKDemo | ||
| 4 | +// | ||
| 5 | +// Created by iOS on 2017/10/11. | ||
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <UIKit/UIKit.h> | ||
| 10 | +#import "VLionWebBaseView.h" | ||
| 11 | +#import "VLionAdConfiguration.h" | ||
| 12 | + | ||
| 13 | +@interface VLionAdBannerView : VLionWebBaseView | ||
| 14 | + | ||
| 15 | +- (void)timingChangedAdWithTagId:(NSString *)tagId | ||
| 16 | + adt:(NSString *)adt | ||
| 17 | + configuration:(VLionAdConfiguration *)configuration | ||
| 18 | + placeholderImage:(UIImage *)placeholderImage | ||
| 19 | + viewController:(UIViewController *)viewController | ||
| 20 | + superView:(UIView *)superView | ||
| 21 | + completeBlock:(void(^)(UIView *bannerView, float width, float height))completeBlock | ||
| 22 | + successBlock:(void(^)(void))successBlock | ||
| 23 | + failedBlock:(void(^)(NSDictionary *errorDic))failedBlock | ||
| 24 | + closeBlock:(void(^)(void))closeBlock | ||
| 25 | + adClickBlock:(void(^)(void))adClickBlock | ||
| 26 | + adBackBlock:(void(^)(void))adBackBlock; | ||
| 27 | + | ||
| 28 | +/** | ||
| 29 | + * 销毁banner | ||
| 30 | + */ | ||
| 31 | +- (void)destroyBannerAdvertisement; | ||
| 32 | + | ||
| 33 | +/** | ||
| 34 | + * 更新广告数据 | ||
| 35 | + */ | ||
| 36 | +- (void)updateBannerSuccessBlock:(void(^)(void))successBlock | ||
| 37 | + failedBlock:(void(^)(NSDictionary *errorDic))failedBlock; | ||
| 38 | + | ||
| 39 | +@end |
VLionAdSDKDemo/VLionAdSDKDemo/VLionADSDK.framework/VLionADSDK
No preview for this file type