Commit 1847691f3a48e8823b3dd0a3de2585ccf1197543
1 parent
51ebaf5e
no message
Showing
23 changed files
with
776 additions
and
90 deletions
VLionADSDKDemo/VLionADSDKDemo.xcodeproj/project.pbxproj
| ... | ... | @@ -7,106 +7,126 @@ |
| 7 | 7 | objects = { |
| 8 | 8 | |
| 9 | 9 | /* Begin PBXBuildFile section */ |
| 10 | - D2ED413B1F95EE9C00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED413A1F95EE9C00803E9D /* AppDelegate.m */; }; | |
| 11 | - D2ED413E1F95EE9C00803E9D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED413D1F95EE9C00803E9D /* ViewController.m */; }; | |
| 12 | - D2ED41411F95EE9C00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED413F1F95EE9C00803E9D /* Main.storyboard */; }; | |
| 13 | - D2ED41431F95EE9C00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41421F95EE9C00803E9D /* Assets.xcassets */; }; | |
| 14 | - D2ED41461F95EE9C00803E9D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41441F95EE9C00803E9D /* LaunchScreen.storyboard */; }; | |
| 15 | - D2ED41491F95EE9C00803E9D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41481F95EE9C00803E9D /* main.m */; }; | |
| 10 | + D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41641F95F3BD00803E9D /* AppDelegate.m */; }; | |
| 11 | + D2ED41681F95F3BD00803E9D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41671F95F3BD00803E9D /* ViewController.m */; }; | |
| 12 | + D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED41691F95F3BD00803E9D /* Main.storyboard */; }; | |
| 13 | + D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416C1F95F3BD00803E9D /* Assets.xcassets */; }; | |
| 14 | + D2ED41701F95F3BD00803E9D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */; }; | |
| 15 | + D2ED41731F95F3BD00803E9D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D2ED41721F95F3BD00803E9D /* main.m */; }; | |
| 16 | + D2ED417A1F95F43700803E9D /* VLionAdSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2ED41791F95F3D900803E9D /* VLionAdSDK.framework */; }; | |
| 17 | + D2ED417B1F95F43700803E9D /* VLionAdSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2ED41791F95F3D900803E9D /* VLionAdSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; | |
| 16 | 18 | /* End PBXBuildFile section */ |
| 17 | 19 | |
| 20 | +/* Begin PBXCopyFilesBuildPhase section */ | |
| 21 | + D2ED417C1F95F43700803E9D /* Embed Frameworks */ = { | |
| 22 | + isa = PBXCopyFilesBuildPhase; | |
| 23 | + buildActionMask = 2147483647; | |
| 24 | + dstPath = ""; | |
| 25 | + dstSubfolderSpec = 10; | |
| 26 | + files = ( | |
| 27 | + D2ED417B1F95F43700803E9D /* VLionAdSDK.framework in Embed Frameworks */, | |
| 28 | + ); | |
| 29 | + name = "Embed Frameworks"; | |
| 30 | + runOnlyForDeploymentPostprocessing = 0; | |
| 31 | + }; | |
| 32 | +/* End PBXCopyFilesBuildPhase section */ | |
| 33 | + | |
| 18 | 34 | /* Begin PBXFileReference section */ |
| 19 | - D2ED41361F95EE9C00803E9D /* VLionADSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionADSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 20 | - D2ED41391F95EE9C00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | |
| 21 | - D2ED413A1F95EE9C00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | |
| 22 | - D2ED413C1F95EE9C00803E9D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | |
| 23 | - D2ED413D1F95EE9C00803E9D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | |
| 24 | - D2ED41401F95EE9C00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | |
| 25 | - D2ED41421F95EE9C00803E9D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | |
| 26 | - D2ED41451F95EE9C00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | |
| 27 | - D2ED41471F95EE9C00803E9D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | |
| 28 | - D2ED41481F95EE9C00803E9D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | |
| 35 | + D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VLionAdSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 36 | + D2ED41631F95F3BD00803E9D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | |
| 37 | + D2ED41641F95F3BD00803E9D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | |
| 38 | + D2ED41661F95F3BD00803E9D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | |
| 39 | + D2ED41671F95F3BD00803E9D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | |
| 40 | + D2ED416A1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | |
| 41 | + D2ED416C1F95F3BD00803E9D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; | |
| 42 | + D2ED416F1F95F3BD00803E9D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | |
| 43 | + D2ED41711F95F3BD00803E9D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | |
| 44 | + D2ED41721F95F3BD00803E9D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | |
| 45 | + D2ED41791F95F3D900803E9D /* VLionAdSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = VLionAdSDK.framework; sourceTree = "<group>"; }; | |
| 29 | 46 | /* End PBXFileReference section */ |
| 30 | 47 | |
| 31 | 48 | /* Begin PBXFrameworksBuildPhase section */ |
| 32 | - D2ED41331F95EE9C00803E9D /* Frameworks */ = { | |
| 49 | + D2ED415D1F95F3BD00803E9D /* Frameworks */ = { | |
| 33 | 50 | isa = PBXFrameworksBuildPhase; |
| 34 | 51 | buildActionMask = 2147483647; |
| 35 | 52 | files = ( |
| 53 | + D2ED417A1F95F43700803E9D /* VLionAdSDK.framework in Frameworks */, | |
| 36 | 54 | ); |
| 37 | 55 | runOnlyForDeploymentPostprocessing = 0; |
| 38 | 56 | }; |
| 39 | 57 | /* End PBXFrameworksBuildPhase section */ |
| 40 | 58 | |
| 41 | 59 | /* Begin PBXGroup section */ |
| 42 | - D2ED412D1F95EE9C00803E9D = { | |
| 60 | + D2ED41571F95F3BD00803E9D = { | |
| 43 | 61 | isa = PBXGroup; |
| 44 | 62 | children = ( |
| 45 | - D2ED41381F95EE9C00803E9D /* VLionADSDKDemo */, | |
| 46 | - D2ED41371F95EE9C00803E9D /* Products */, | |
| 63 | + D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */, | |
| 64 | + D2ED41611F95F3BD00803E9D /* Products */, | |
| 47 | 65 | ); |
| 48 | 66 | sourceTree = "<group>"; |
| 49 | 67 | }; |
| 50 | - D2ED41371F95EE9C00803E9D /* Products */ = { | |
| 68 | + D2ED41611F95F3BD00803E9D /* Products */ = { | |
| 51 | 69 | isa = PBXGroup; |
| 52 | 70 | children = ( |
| 53 | - D2ED41361F95EE9C00803E9D /* VLionADSDKDemo.app */, | |
| 71 | + D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */, | |
| 54 | 72 | ); |
| 55 | 73 | name = Products; |
| 56 | 74 | sourceTree = "<group>"; |
| 57 | 75 | }; |
| 58 | - D2ED41381F95EE9C00803E9D /* VLionADSDKDemo */ = { | |
| 76 | + D2ED41621F95F3BD00803E9D /* VLionAdSDKDemo */ = { | |
| 59 | 77 | isa = PBXGroup; |
| 60 | 78 | children = ( |
| 61 | - D2ED41391F95EE9C00803E9D /* AppDelegate.h */, | |
| 62 | - D2ED413A1F95EE9C00803E9D /* AppDelegate.m */, | |
| 63 | - D2ED413C1F95EE9C00803E9D /* ViewController.h */, | |
| 64 | - D2ED413D1F95EE9C00803E9D /* ViewController.m */, | |
| 65 | - D2ED413F1F95EE9C00803E9D /* Main.storyboard */, | |
| 66 | - D2ED41421F95EE9C00803E9D /* Assets.xcassets */, | |
| 67 | - D2ED41441F95EE9C00803E9D /* LaunchScreen.storyboard */, | |
| 68 | - D2ED41471F95EE9C00803E9D /* Info.plist */, | |
| 69 | - D2ED41481F95EE9C00803E9D /* main.m */, | |
| 79 | + D2ED41791F95F3D900803E9D /* VLionAdSDK.framework */, | |
| 80 | + D2ED41631F95F3BD00803E9D /* AppDelegate.h */, | |
| 81 | + D2ED41641F95F3BD00803E9D /* AppDelegate.m */, | |
| 82 | + D2ED41661F95F3BD00803E9D /* ViewController.h */, | |
| 83 | + D2ED41671F95F3BD00803E9D /* ViewController.m */, | |
| 84 | + D2ED41691F95F3BD00803E9D /* Main.storyboard */, | |
| 85 | + D2ED416C1F95F3BD00803E9D /* Assets.xcassets */, | |
| 86 | + D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */, | |
| 87 | + D2ED41711F95F3BD00803E9D /* Info.plist */, | |
| 88 | + D2ED41721F95F3BD00803E9D /* main.m */, | |
| 70 | 89 | ); |
| 71 | - path = VLionADSDKDemo; | |
| 90 | + path = VLionAdSDKDemo; | |
| 72 | 91 | sourceTree = "<group>"; |
| 73 | 92 | }; |
| 74 | 93 | /* End PBXGroup section */ |
| 75 | 94 | |
| 76 | 95 | /* Begin PBXNativeTarget section */ |
| 77 | - D2ED41351F95EE9C00803E9D /* VLionADSDKDemo */ = { | |
| 96 | + D2ED415F1F95F3BD00803E9D /* VLionAdSDKDemo */ = { | |
| 78 | 97 | isa = PBXNativeTarget; |
| 79 | - buildConfigurationList = D2ED414C1F95EE9C00803E9D /* Build configuration list for PBXNativeTarget "VLionADSDKDemo" */; | |
| 98 | + buildConfigurationList = D2ED41761F95F3BD00803E9D /* Build configuration list for PBXNativeTarget "VLionAdSDKDemo" */; | |
| 80 | 99 | buildPhases = ( |
| 81 | - D2ED41321F95EE9C00803E9D /* Sources */, | |
| 82 | - D2ED41331F95EE9C00803E9D /* Frameworks */, | |
| 83 | - D2ED41341F95EE9C00803E9D /* Resources */, | |
| 100 | + D2ED415C1F95F3BD00803E9D /* Sources */, | |
| 101 | + D2ED415D1F95F3BD00803E9D /* Frameworks */, | |
| 102 | + D2ED415E1F95F3BD00803E9D /* Resources */, | |
| 103 | + D2ED417C1F95F43700803E9D /* Embed Frameworks */, | |
| 84 | 104 | ); |
| 85 | 105 | buildRules = ( |
| 86 | 106 | ); |
| 87 | 107 | dependencies = ( |
| 88 | 108 | ); |
| 89 | - name = VLionADSDKDemo; | |
| 90 | - productName = VLionADSDKDemo; | |
| 91 | - productReference = D2ED41361F95EE9C00803E9D /* VLionADSDKDemo.app */; | |
| 109 | + name = VLionAdSDKDemo; | |
| 110 | + productName = VLionAdSDKDemo; | |
| 111 | + productReference = D2ED41601F95F3BD00803E9D /* VLionAdSDKDemo.app */; | |
| 92 | 112 | productType = "com.apple.product-type.application"; |
| 93 | 113 | }; |
| 94 | 114 | /* End PBXNativeTarget section */ |
| 95 | 115 | |
| 96 | 116 | /* Begin PBXProject section */ |
| 97 | - D2ED412E1F95EE9C00803E9D /* Project object */ = { | |
| 117 | + D2ED41581F95F3BD00803E9D /* Project object */ = { | |
| 98 | 118 | isa = PBXProject; |
| 99 | 119 | attributes = { |
| 100 | 120 | LastUpgradeCheck = 0900; |
| 101 | 121 | ORGANIZATIONNAME = cnlive; |
| 102 | 122 | TargetAttributes = { |
| 103 | - D2ED41351F95EE9C00803E9D = { | |
| 123 | + D2ED415F1F95F3BD00803E9D = { | |
| 104 | 124 | CreatedOnToolsVersion = 9.0; |
| 105 | 125 | ProvisioningStyle = Automatic; |
| 106 | 126 | }; |
| 107 | 127 | }; |
| 108 | 128 | }; |
| 109 | - buildConfigurationList = D2ED41311F95EE9C00803E9D /* Build configuration list for PBXProject "VLionADSDKDemo" */; | |
| 129 | + buildConfigurationList = D2ED415B1F95F3BD00803E9D /* Build configuration list for PBXProject "VLionAdSDKDemo" */; | |
| 110 | 130 | compatibilityVersion = "Xcode 8.0"; |
| 111 | 131 | developmentRegion = en; |
| 112 | 132 | hasScannedForEncodings = 0; |
| ... | ... | @@ -114,55 +134,55 @@ |
| 114 | 134 | en, |
| 115 | 135 | Base, |
| 116 | 136 | ); |
| 117 | - mainGroup = D2ED412D1F95EE9C00803E9D; | |
| 118 | - productRefGroup = D2ED41371F95EE9C00803E9D /* Products */; | |
| 137 | + mainGroup = D2ED41571F95F3BD00803E9D; | |
| 138 | + productRefGroup = D2ED41611F95F3BD00803E9D /* Products */; | |
| 119 | 139 | projectDirPath = ""; |
| 120 | 140 | projectRoot = ""; |
| 121 | 141 | targets = ( |
| 122 | - D2ED41351F95EE9C00803E9D /* VLionADSDKDemo */, | |
| 142 | + D2ED415F1F95F3BD00803E9D /* VLionAdSDKDemo */, | |
| 123 | 143 | ); |
| 124 | 144 | }; |
| 125 | 145 | /* End PBXProject section */ |
| 126 | 146 | |
| 127 | 147 | /* Begin PBXResourcesBuildPhase section */ |
| 128 | - D2ED41341F95EE9C00803E9D /* Resources */ = { | |
| 148 | + D2ED415E1F95F3BD00803E9D /* Resources */ = { | |
| 129 | 149 | isa = PBXResourcesBuildPhase; |
| 130 | 150 | buildActionMask = 2147483647; |
| 131 | 151 | files = ( |
| 132 | - D2ED41461F95EE9C00803E9D /* LaunchScreen.storyboard in Resources */, | |
| 133 | - D2ED41431F95EE9C00803E9D /* Assets.xcassets in Resources */, | |
| 134 | - D2ED41411F95EE9C00803E9D /* Main.storyboard in Resources */, | |
| 152 | + D2ED41701F95F3BD00803E9D /* LaunchScreen.storyboard in Resources */, | |
| 153 | + D2ED416D1F95F3BD00803E9D /* Assets.xcassets in Resources */, | |
| 154 | + D2ED416B1F95F3BD00803E9D /* Main.storyboard in Resources */, | |
| 135 | 155 | ); |
| 136 | 156 | runOnlyForDeploymentPostprocessing = 0; |
| 137 | 157 | }; |
| 138 | 158 | /* End PBXResourcesBuildPhase section */ |
| 139 | 159 | |
| 140 | 160 | /* Begin PBXSourcesBuildPhase section */ |
| 141 | - D2ED41321F95EE9C00803E9D /* Sources */ = { | |
| 161 | + D2ED415C1F95F3BD00803E9D /* Sources */ = { | |
| 142 | 162 | isa = PBXSourcesBuildPhase; |
| 143 | 163 | buildActionMask = 2147483647; |
| 144 | 164 | files = ( |
| 145 | - D2ED413E1F95EE9C00803E9D /* ViewController.m in Sources */, | |
| 146 | - D2ED41491F95EE9C00803E9D /* main.m in Sources */, | |
| 147 | - D2ED413B1F95EE9C00803E9D /* AppDelegate.m in Sources */, | |
| 165 | + D2ED41681F95F3BD00803E9D /* ViewController.m in Sources */, | |
| 166 | + D2ED41731F95F3BD00803E9D /* main.m in Sources */, | |
| 167 | + D2ED41651F95F3BD00803E9D /* AppDelegate.m in Sources */, | |
| 148 | 168 | ); |
| 149 | 169 | runOnlyForDeploymentPostprocessing = 0; |
| 150 | 170 | }; |
| 151 | 171 | /* End PBXSourcesBuildPhase section */ |
| 152 | 172 | |
| 153 | 173 | /* Begin PBXVariantGroup section */ |
| 154 | - D2ED413F1F95EE9C00803E9D /* Main.storyboard */ = { | |
| 174 | + D2ED41691F95F3BD00803E9D /* Main.storyboard */ = { | |
| 155 | 175 | isa = PBXVariantGroup; |
| 156 | 176 | children = ( |
| 157 | - D2ED41401F95EE9C00803E9D /* Base */, | |
| 177 | + D2ED416A1F95F3BD00803E9D /* Base */, | |
| 158 | 178 | ); |
| 159 | 179 | name = Main.storyboard; |
| 160 | 180 | sourceTree = "<group>"; |
| 161 | 181 | }; |
| 162 | - D2ED41441F95EE9C00803E9D /* LaunchScreen.storyboard */ = { | |
| 182 | + D2ED416E1F95F3BD00803E9D /* LaunchScreen.storyboard */ = { | |
| 163 | 183 | isa = PBXVariantGroup; |
| 164 | 184 | children = ( |
| 165 | - D2ED41451F95EE9C00803E9D /* Base */, | |
| 185 | + D2ED416F1F95F3BD00803E9D /* Base */, | |
| 166 | 186 | ); |
| 167 | 187 | name = LaunchScreen.storyboard; |
| 168 | 188 | sourceTree = "<group>"; |
| ... | ... | @@ -170,7 +190,7 @@ |
| 170 | 190 | /* End PBXVariantGroup section */ |
| 171 | 191 | |
| 172 | 192 | /* Begin XCBuildConfiguration section */ |
| 173 | - D2ED414A1F95EE9C00803E9D /* Debug */ = { | |
| 193 | + D2ED41741F95F3BD00803E9D /* Debug */ = { | |
| 174 | 194 | isa = XCBuildConfiguration; |
| 175 | 195 | buildSettings = { |
| 176 | 196 | ALWAYS_SEARCH_USER_PATHS = NO; |
| ... | ... | @@ -225,7 +245,7 @@ |
| 225 | 245 | }; |
| 226 | 246 | name = Debug; |
| 227 | 247 | }; |
| 228 | - D2ED414B1F95EE9C00803E9D /* Release */ = { | |
| 248 | + D2ED41751F95F3BD00803E9D /* Release */ = { | |
| 229 | 249 | isa = XCBuildConfiguration; |
| 230 | 250 | buildSettings = { |
| 231 | 251 | ALWAYS_SEARCH_USER_PATHS = NO; |
| ... | ... | @@ -274,31 +294,39 @@ |
| 274 | 294 | }; |
| 275 | 295 | name = Release; |
| 276 | 296 | }; |
| 277 | - D2ED414D1F95EE9C00803E9D /* Debug */ = { | |
| 297 | + D2ED41771F95F3BD00803E9D /* Debug */ = { | |
| 278 | 298 | isa = XCBuildConfiguration; |
| 279 | 299 | buildSettings = { |
| 280 | 300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 281 | 301 | CODE_SIGN_STYLE = Automatic; |
| 282 | 302 | DEVELOPMENT_TEAM = 94X49GG3ZW; |
| 283 | - INFOPLIST_FILE = VLionADSDKDemo/Info.plist; | |
| 303 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 304 | + "$(inherited)", | |
| 305 | + "$(PROJECT_DIR)/VLionAdSDKDemo", | |
| 306 | + ); | |
| 307 | + INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; | |
| 284 | 308 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 285 | 309 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 286 | - PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionADSDKDemo; | |
| 310 | + PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; | |
| 287 | 311 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 288 | 312 | TARGETED_DEVICE_FAMILY = "1,2"; |
| 289 | 313 | }; |
| 290 | 314 | name = Debug; |
| 291 | 315 | }; |
| 292 | - D2ED414E1F95EE9C00803E9D /* Release */ = { | |
| 316 | + D2ED41781F95F3BD00803E9D /* Release */ = { | |
| 293 | 317 | isa = XCBuildConfiguration; |
| 294 | 318 | buildSettings = { |
| 295 | 319 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 296 | 320 | CODE_SIGN_STYLE = Automatic; |
| 297 | 321 | DEVELOPMENT_TEAM = 94X49GG3ZW; |
| 298 | - INFOPLIST_FILE = VLionADSDKDemo/Info.plist; | |
| 322 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 323 | + "$(inherited)", | |
| 324 | + "$(PROJECT_DIR)/VLionAdSDKDemo", | |
| 325 | + ); | |
| 326 | + INFOPLIST_FILE = VLionAdSDKDemo/Info.plist; | |
| 299 | 327 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 300 | 328 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 301 | - PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionADSDKDemo; | |
| 329 | + PRODUCT_BUNDLE_IDENTIFIER = cn.vlion.VLionAdSDKDemo; | |
| 302 | 330 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 303 | 331 | TARGETED_DEVICE_FAMILY = "1,2"; |
| 304 | 332 | }; |
| ... | ... | @@ -307,25 +335,25 @@ |
| 307 | 335 | /* End XCBuildConfiguration section */ |
| 308 | 336 | |
| 309 | 337 | /* Begin XCConfigurationList section */ |
| 310 | - D2ED41311F95EE9C00803E9D /* Build configuration list for PBXProject "VLionADSDKDemo" */ = { | |
| 338 | + D2ED415B1F95F3BD00803E9D /* Build configuration list for PBXProject "VLionAdSDKDemo" */ = { | |
| 311 | 339 | isa = XCConfigurationList; |
| 312 | 340 | buildConfigurations = ( |
| 313 | - D2ED414A1F95EE9C00803E9D /* Debug */, | |
| 314 | - D2ED414B1F95EE9C00803E9D /* Release */, | |
| 341 | + D2ED41741F95F3BD00803E9D /* Debug */, | |
| 342 | + D2ED41751F95F3BD00803E9D /* Release */, | |
| 315 | 343 | ); |
| 316 | 344 | defaultConfigurationIsVisible = 0; |
| 317 | 345 | defaultConfigurationName = Release; |
| 318 | 346 | }; |
| 319 | - D2ED414C1F95EE9C00803E9D /* Build configuration list for PBXNativeTarget "VLionADSDKDemo" */ = { | |
| 347 | + D2ED41761F95F3BD00803E9D /* Build configuration list for PBXNativeTarget "VLionAdSDKDemo" */ = { | |
| 320 | 348 | isa = XCConfigurationList; |
| 321 | 349 | buildConfigurations = ( |
| 322 | - D2ED414D1F95EE9C00803E9D /* Debug */, | |
| 323 | - D2ED414E1F95EE9C00803E9D /* Release */, | |
| 350 | + D2ED41771F95F3BD00803E9D /* Debug */, | |
| 351 | + D2ED41781F95F3BD00803E9D /* Release */, | |
| 324 | 352 | ); |
| 325 | 353 | defaultConfigurationIsVisible = 0; |
| 326 | 354 | defaultConfigurationName = Release; |
| 327 | 355 | }; |
| 328 | 356 | /* End XCConfigurationList section */ |
| 329 | 357 | }; |
| 330 | - rootObject = D2ED412E1F95EE9C00803E9D /* Project object */; | |
| 358 | + rootObject = D2ED41581F95F3BD00803E9D /* Project object */; | |
| 331 | 359 | } | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/AppDelegate.h
VLionADSDKDemo/VLionADSDKDemo/AppDelegate.m
| 1 | 1 | // |
| 2 | 2 | // AppDelegate.m |
| 3 | -// VLionADSDKDemo | |
| 3 | +// VLionAdSDKDemo | |
| 4 | 4 | // |
| 5 | 5 | // Created by 张旭 on 2017/10/17. |
| 6 | 6 | // Copyright © 2017年 cnlive. All rights reserved. |
| 7 | 7 | // |
| 8 | 8 | |
| 9 | 9 | #import "AppDelegate.h" |
| 10 | +#import <VLionAdSDK/VLionAdSDK.h> | |
| 10 | 11 | |
| 11 | 12 | @interface AppDelegate () |
| 12 | 13 | |
| ... | ... | @@ -17,6 +18,36 @@ |
| 17 | 18 | |
| 18 | 19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { |
| 19 | 20 | // Override point for customization after application launch. |
| 21 | + [[VLionManager manager] initVLionSDKWithAppId:@"171" appKey:@""]; | |
| 22 | + | |
| 23 | + VLionAdConfiguration *configuration = [[VLionAdConfiguration alloc] init]; | |
| 24 | + | |
| 25 | + configuration.showFinishAnimate = ShowFinishAnimateFadein; | |
| 26 | + configuration.showFinishAnimateTime = 0.8; | |
| 27 | + configuration.contentMode = UIViewContentModeScaleAspectFit; | |
| 28 | + configuration.skipButtonType = AdSkipButtonTypeTimeAndText; | |
| 29 | + configuration.frame = [UIScreen mainScreen].bounds; | |
| 30 | + | |
| 31 | + UIImage *image = [UIImage imageNamed:@"bg_launch_1242"]; | |
| 32 | + | |
| 33 | + [[VLionManager manager] vl_setupLaunchAdWithTagId:@"420" configuration:configuration keyWindow:[[UIApplication sharedApplication].delegate window] placeholderImage:image completeBlock:^(CGFloat w, CGFloat h, UIWindow * _Nonnull window) { | |
| 34 | + | |
| 35 | + NSLog(@"%f>>>>>%f>>>>>%@",w,h,window); | |
| 36 | + | |
| 37 | + // window.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.width*h/w); | |
| 38 | + | |
| 39 | + } successBlock:^{ | |
| 40 | + | |
| 41 | + NSLog(@"success"); | |
| 42 | + | |
| 43 | + } failedBlock:^(NSDictionary * _Nullable errorDic) { | |
| 44 | + | |
| 45 | + NSLog(@"failed:%@",errorDic); | |
| 46 | + | |
| 47 | + } finishBlock:^{ | |
| 48 | + | |
| 49 | + NSLog(@"finish"); | |
| 50 | + }]; | |
| 20 | 51 | return YES; |
| 21 | 52 | } |
| 22 | 53 | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/Info.plist
| ... | ... | @@ -4,6 +4,11 @@ |
| 4 | 4 | <dict> |
| 5 | 5 | <key>CFBundleDevelopmentRegion</key> |
| 6 | 6 | <string>$(DEVELOPMENT_LANGUAGE)</string> |
| 7 | + <key>NSAppTransportSecurity</key> | |
| 8 | + <dict> | |
| 9 | + <key>NSAllowsArbitraryLoads</key> | |
| 10 | + <true/> | |
| 11 | + </dict> | |
| 7 | 12 | <key>CFBundleExecutable</key> |
| 8 | 13 | <string>$(EXECUTABLE_NAME)</string> |
| 9 | 14 | <key>CFBundleIdentifier</key> | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionADStatusDef.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionADStatusDef.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/17. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#ifndef VLionADStatusDef_h | |
| 10 | +#define VLionADStatusDef_h | |
| 11 | + | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * 广告创意类型 | |
| 15 | + */ | |
| 16 | +typedef NS_ENUM(NSUInteger, VLionAdErrorType) { | |
| 17 | + | |
| 18 | + VLionAdErrorTypeNull = 102, //无默认广告且无广告返回 | |
| 19 | + VLionAdErrorTypeTagIdInvalid = 105, //广告位id无效 | |
| 20 | +}; | |
| 21 | + | |
| 22 | +/** | |
| 23 | + * 原生广告类型 | |
| 24 | + */ | |
| 25 | +typedef NS_ENUM(NSUInteger, NativeAdType) { | |
| 26 | + NativeAdTypeInformationFlow = 11, //信息流 | |
| 27 | + NativeAdTypeShuffling = 12, //轮播图 | |
| 28 | + NativeAdTypeWaterfall = 13, //瀑布流 | |
| 29 | + NativeAdTypeNews = 14, //新闻放送 | |
| 30 | + NativeAdTypeAppWall = 15 //应用墙 | |
| 31 | +}; | |
| 32 | + | |
| 33 | +/** | |
| 34 | + * 状态码类型 | |
| 35 | + */ | |
| 36 | +typedef NS_ENUM(NSUInteger, errorCode) { | |
| 37 | + errorCode_SUCCESS = 0,//正常 | |
| 38 | + errorCode_NON_NETWORK = 1,//网络异常 | |
| 39 | + errorCode_NON_AD = 2,//无广告 | |
| 40 | + errorCode_SHOW_INTERVAL_LIMITED = 3,//频繁展示/操作 | |
| 41 | + errorCode_TAGID_INEFFECT = 4 //广告位id无效 | |
| 42 | +}; | |
| 43 | + | |
| 44 | +#endif /* VLionADStatusDef_h */ | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionAdConfiguration.h
0 → 100644
| 1 | +// | |
| 2 | +// ADLaunchConfiguration.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 17/10/10. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import <UIKit/UIKit.h> | |
| 11 | +#import <MediaPlayer/MediaPlayer.h> | |
| 12 | + | |
| 13 | +/** 显示完成动画时间默认时间 */ | |
| 14 | +static CGFloat const showFinishAnimateTimeDefault = 0.8; | |
| 15 | + | |
| 16 | +/** 显示完成动画类型 */ | |
| 17 | +typedef NS_ENUM(NSInteger , ShowFinishAnimate) { | |
| 18 | + | |
| 19 | + /** 无动画 */ | |
| 20 | + ShowFinishAnimateNone = 1, | |
| 21 | + | |
| 22 | + /** 普通淡入(default) */ | |
| 23 | + ShowFinishAnimateFadein = 2, | |
| 24 | + | |
| 25 | + /** 放大淡入 */ | |
| 26 | + ShowFinishAnimateLite = 3, | |
| 27 | + | |
| 28 | + /** 左右翻转(类似网易云音乐) */ | |
| 29 | + ShowFinishAnimateFlipFromLeft = 4, | |
| 30 | + | |
| 31 | + /** 下上翻转 */ | |
| 32 | + ShowFinishAnimateFlipFromBottom = 5, | |
| 33 | + | |
| 34 | + /** 向上翻页 */ | |
| 35 | + ShowFinishAnimateCurlUp = 6, | |
| 36 | +}; | |
| 37 | + | |
| 38 | +typedef NS_ENUM(NSUInteger, AdSkipButtonType) { | |
| 39 | + AdSkipButtonTypeNone = 1, //无 | |
| 40 | + AdSkipButtonTypeTime = 2, //倒计时 | |
| 41 | + AdSkipButtonTypeText = 3, //跳过 | |
| 42 | + AdSkipButtonTypeTimeAndText = 4 //倒计时 + 跳过 | |
| 43 | +}; | |
| 44 | + | |
| 45 | +@interface VLionAdConfiguration : NSObject | |
| 46 | + | |
| 47 | ++ (VLionAdConfiguration *)defaultConfiguration; | |
| 48 | + | |
| 49 | +#pragma mark - 公共属性 | |
| 50 | + | |
| 51 | +/** | |
| 52 | + * 跳过按钮类型(default SkipTypeTimeText) (仅开屏广告设置有效) | |
| 53 | + */ | |
| 54 | +@property(nonatomic,assign)AdSkipButtonType skipButtonType; | |
| 55 | + | |
| 56 | +/** | |
| 57 | + * 显示完成动画(default ShowFinishAnimateFadein) (仅开屏广告设置有效) | |
| 58 | + */ | |
| 59 | +@property(nonatomic,assign)ShowFinishAnimate showFinishAnimate; | |
| 60 | + | |
| 61 | +/** | |
| 62 | + * 显示完成动画时间(default 0.8 , 单位:秒) (仅开屏广告设置有效) | |
| 63 | + */ | |
| 64 | +@property(nonatomic,assign)CGFloat showFinishAnimateTime; | |
| 65 | + | |
| 66 | +/** | |
| 67 | + * 设置广告的frame(开屏 :default [UIScreen mainScreen].bounds) | |
| 68 | + */ | |
| 69 | +@property (nonatomic,assign) CGRect frame; | |
| 70 | + | |
| 71 | +/** | |
| 72 | + 设置GIF动图是否只循环播放一次 (仅对动图设置有效) | |
| 73 | + */ | |
| 74 | +@property (nonatomic, assign) BOOL GIFImageCycleOnce; | |
| 75 | + | |
| 76 | +#pragma mark - 图片广告相关 | |
| 77 | +/** | |
| 78 | + * 图片广告缩放模式(default UIViewContentModeScaleToFill) (仅对图片广告设置有效) | |
| 79 | + */ | |
| 80 | +@property(nonatomic,assign)UIViewContentMode contentMode; | |
| 81 | + | |
| 82 | +#pragma mark - 视频广告相关 | |
| 83 | +/** | |
| 84 | + * 视频缩放模式(default MPMovieScalingModeAspectFill) (仅对视频广告设置有效) | |
| 85 | + */ | |
| 86 | +@property(nonatomic,assign)MPMovieScalingMode scalingMode; | |
| 87 | + | |
| 88 | +@end | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionAdSDK.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionAdSDK.h | |
| 3 | +// VLionAdSDK | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 17/10/17. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "VLionManager.h" | |
| 11 | +#import "VLionAdConfiguration.h" | |
| 12 | +#import "VLionNativeAdAppWallModel.h" | |
| 13 | +#import "VLionNativeAdIconModel.h" | |
| 14 | +#import "VLionNativeAdInformationFlowModel.h" | |
| 15 | +#import "VLionNativeAdNativeModel.h" | |
| 16 | +#import "VLionNativeAdNewsModel.h" | |
| 17 | +#import "VLionNativeAdShufflingModel.h" | |
| 18 | +#import "VLionNativeAdWaterfallModel.h" | |
| 19 | + | |
| 20 | +//! Project version number for VLionAdSDK. | |
| 21 | +FOUNDATION_EXPORT double VLionAdSDKVersionNumber; | |
| 22 | + | |
| 23 | +//! Project version string for VLionAdSDK. | |
| 24 | +FOUNDATION_EXPORT const unsigned char VLionAdSDKVersionString[]; | |
| 25 | + | |
| 26 | +// In this header, you should import all the public headers of your framework using statements like #import <VLionAdSDK/PublicHeader.h> | |
| 27 | + | |
| 28 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionManager.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionManager.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by iOS on 2017/10/9. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import <UIKit/UIKit.h> | |
| 11 | +#import "VLionAdConfiguration.h" | |
| 12 | +#import "VLionADStatusDef.h" | |
| 13 | +#import "VLionNativeAdNewsModel.h" | |
| 14 | +#import "VLionNativeAdAppWallModel.h" | |
| 15 | +#import "VLionNativeAdShufflingModel.h" | |
| 16 | +#import "VLionNativeAdWaterfallModel.h" | |
| 17 | +#import "VLionNativeAdInformationFlowModel.h" | |
| 18 | + | |
| 19 | +typedef void(^VLionNativeAdNewsHandler)(VLionNativeAdNewsModel *_Nullable adModel, NSDictionary * _Nullable errorDic); | |
| 20 | +typedef void(^VLionNativeAdAppWallHandler)(VLionNativeAdAppWallModel *_Nullable adModel, NSDictionary * _Nullable errorDic); | |
| 21 | +typedef void(^VLionNativeAdShufflingHandler)(VLionNativeAdShufflingModel *_Nullable adModel, NSDictionary * _Nullable errorDic); | |
| 22 | +typedef void(^VLionNativeAdWaterfallHandler)(VLionNativeAdWaterfallModel *_Nullable adModel, NSDictionary * _Nullable errorDic); | |
| 23 | +typedef void(^VLionNativeAdInformationFlowHandler)(VLionNativeAdInformationFlowModel *_Nullable adModel, NSDictionary * _Nullable errorDic); | |
| 24 | + | |
| 25 | +@interface VLionManager : NSObject | |
| 26 | + | |
| 27 | +@property (nonatomic, readonly) NSString *_Nonnull appId; | |
| 28 | + | |
| 29 | +@property (nonatomic, readonly) NSString *_Nonnull appKey; | |
| 30 | + | |
| 31 | ++ (VLionManager *_Nonnull)manager; | |
| 32 | + | |
| 33 | +- (void)initVLionSDKWithAppId:(NSString *_Nonnull)appId appKey:(NSString *_Nonnull)appKey; | |
| 34 | + | |
| 35 | +/** | |
| 36 | + 开屏广告 | |
| 37 | + | |
| 38 | + @param tagId 广告位Id,由vlion提供,请到瑞狮SSP后台获取 | |
| 39 | + @param configuration 广告显示参数配置 | |
| 40 | + @param keyWindow App的keyWindow | |
| 41 | + @param placeholderImage 占位图 (最好是启动页图片) | |
| 42 | + @param completeBlock 广告数据回调 window:SDK内部创建的广告位容器window,设置此window的大小可重新设置开屏广告的大小 w:广告物料的宽(单位px) h:广告物料的高(单位px) | |
| 43 | + @param successBlock 加载成功回调 | |
| 44 | + @param failedBlock 失败回调,errorDic:错误信息 | |
| 45 | + @param finishBlock 开屏广告完成回调 | |
| 46 | + */ | |
| 47 | +- (void)vl_setupLaunchAdWithTagId:(NSString *_Nonnull)tagId | |
| 48 | + configuration:(VLionAdConfiguration *_Nonnull)configuration | |
| 49 | + keyWindow:(UIWindow *_Nonnull)keyWindow | |
| 50 | + placeholderImage:(UIImage *_Nullable)placeholderImage | |
| 51 | + completeBlock:(void(^_Nullable)(CGFloat w,CGFloat h,UIWindow *_Nonnull window))completeBlock | |
| 52 | + successBlock:(void(^_Nullable)(void))successBlock | |
| 53 | + failedBlock:(void(^_Nullable)(NSDictionary *_Nullable errorDic))failedBlock | |
| 54 | + finishBlock:(void(^_Nullable)(void))finishBlock; | |
| 55 | + | |
| 56 | +/** | |
| 57 | + 插屏广告 | |
| 58 | + | |
| 59 | + @param tagId 广告位Id 由vlion提供。请到瑞狮SSP后台获取 | |
| 60 | + @param configuration 广告显示参数配置,可设置图片类广告view的填充模式 | |
| 61 | + @param superView 广告父视图(必传) | |
| 62 | + @param placeholderImage 占位图(必传) | |
| 63 | + @param viewController 当前控制器(必传),若不传,点击广告无法跳转 | |
| 64 | + @param completeBlock 广告数据请求成功回调 interstitialView:广告位容器 w:广告物料的宽(单位px) h:广告物料的高(单位px) closeBtnH:关闭按钮的高; 可根据返回物料宽高比重新设置容器的宽高,以免出现广告展示和容器比例不一致问题 注*重新设置广告位容器frame时,高度请加上关闭按钮的高,否则广告视图可能被拉伸 | |
| 65 | + @param successBlock 加载完成回调,建议在此回调中将广告容器添加到要展示的view上 | |
| 66 | + @param failedBlock 失败回调 | |
| 67 | + @param closeBlock 关闭按钮点击事件回调,建议在该回调中移除广告容器 | |
| 68 | + */ | |
| 69 | +- (void)vl_interstitialWithTagId:(NSString *_Nonnull)tagId | |
| 70 | + configuration:(VLionAdConfiguration *_Nonnull)configuration | |
| 71 | + superView:(UIView *_Nonnull)superView | |
| 72 | + placeholderImage:(UIImage *_Nonnull)placeholderImage | |
| 73 | + viewController:(UIViewController *_Nonnull)viewController | |
| 74 | + completeBlock:(void(^_Nullable)(UIView *_Nullable interstitialView, float w, float h, float closeBtnH ))completeBlock | |
| 75 | + successBlock:(void(^_Nullable)(void))successBlock | |
| 76 | + failedBlock:(void(^_Nullable)(NSDictionary *_Nullable errorDic))failedBlock | |
| 77 | + closeBlock:(void(^_Nullable)(void))closeBlock; | |
| 78 | + | |
| 79 | +/** | |
| 80 | + 横幅广告 | |
| 81 | + | |
| 82 | + @param tagId 广告位Id 由vlion提供。请到瑞狮SSP后台获取 | |
| 83 | + @param configuration 广告显示参数配置,可设置图片类广告view的填充模式 | |
| 84 | + @param superView 广告父视图(必传) | |
| 85 | + @param placeholderImage 占位图(必传) | |
| 86 | + @param viewController 当前控制器(必传),若不传,点击广告无法跳转 | |
| 87 | + @param completeBlock 广告数据请求成功回调 bannerView:广告位容器 w:广告物料的宽(单位px) h:广告物料的高(单位px); 可根据返回物料宽高比重新设置容器的宽高,以免出现广告展示和容器比例不一致问题 | |
| 88 | + @param successBlock 加载完成回调,建议在此回调中将广告容器添加到要展示的view上 | |
| 89 | + @param failedBlock 失败回调 | |
| 90 | + */ | |
| 91 | +- (void)vl_bannerWithTagId:(NSString *_Nonnull)tagId | |
| 92 | + configuration:(VLionAdConfiguration *_Nonnull)configuration | |
| 93 | + superView:(UIView *_Nonnull)superView | |
| 94 | + placeholderImage:(UIImage *_Nonnull)placeholderImage | |
| 95 | + viewController:(UIViewController *_Nonnull)viewController | |
| 96 | + completeBlock:(void(^_Nullable)(UIView *_Nullable bannerView, float w, float h))completeBlock | |
| 97 | + successBlock:(void(^_Nullable)(void))successBlock | |
| 98 | + failedBlock:(void(^_Nullable)(NSDictionary *_Nullable errorDic))failedBlock; | |
| 99 | + | |
| 100 | + | |
| 101 | +/** | |
| 102 | + * 销毁并移除广告(仅对横屏和插屏广告设置有效) | |
| 103 | + */ | |
| 104 | +- (void)vl_destroyBannerOrInterstitialAdvertisement:(UIView *_Nonnull)superView; | |
| 105 | + | |
| 106 | +/** | |
| 107 | + 请求原生新闻类型广告模型数据 | |
| 108 | + | |
| 109 | + @param tagId 广告位id | |
| 110 | + @param handler 回调 | |
| 111 | + */ | |
| 112 | +- (void)vl_nativeAdNewsWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdNewsHandler _Nullable)handler; | |
| 113 | + | |
| 114 | +/** | |
| 115 | + 请求原生应用墙类型广告模型数据 | |
| 116 | + | |
| 117 | + @param tagId 广告位id | |
| 118 | + @param handler 回调 | |
| 119 | + */ | |
| 120 | +- (void)vl_nativeAdAppWallWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdAppWallHandler _Nullable)handler; | |
| 121 | + | |
| 122 | +/** | |
| 123 | + 请求原生轮播图类型广告模型数据 | |
| 124 | + | |
| 125 | + @param tagId 广告位id | |
| 126 | + @param handler 回调 | |
| 127 | + */ | |
| 128 | +- (void)vl_nativeAdShufflingWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdShufflingHandler _Nullable)handler; | |
| 129 | + | |
| 130 | +/** | |
| 131 | + 请求原生瀑布流类型广告模型数据 | |
| 132 | + | |
| 133 | + @param tagId 广告位id | |
| 134 | + @param handler 回调 | |
| 135 | + */ | |
| 136 | +- (void)vl_nativeAdWaterfallWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdWaterfallHandler _Nullable)handler; | |
| 137 | + | |
| 138 | +/** | |
| 139 | + 请求原生信息流类型广告模型数据 | |
| 140 | + | |
| 141 | + @param tagId 广告位id | |
| 142 | + @param handler 回调 | |
| 143 | + */ | |
| 144 | +- (void)vl_nativeAdInformationFlowWithTagId:(NSString *_Nonnull)tagId handler:(VLionNativeAdInformationFlowHandler _Nullable)handler; | |
| 145 | + | |
| 146 | +#pragma mark - 缓存清除及大小 | |
| 147 | +/** | |
| 148 | + * 清除VLionAd本地缓存 | |
| 149 | + */ | |
| 150 | ++(void)clearDiskCache; | |
| 151 | + | |
| 152 | +/** | |
| 153 | + * 获取VLionAd本地缓存大小(M) | |
| 154 | + */ | |
| 155 | ++(float)diskCacheSize; | |
| 156 | + | |
| 157 | +/** | |
| 158 | + * 缓存路径 | |
| 159 | + */ | |
| 160 | ++(NSString *_Nullable)vlAdCachePath; | |
| 161 | + | |
| 162 | +@end | |
| 163 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdAppWallModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdAppWallModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// 应用墙广告 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdIconModel.h" | |
| 11 | +#import "VLionNativeAdNativeModel.h" | |
| 12 | + | |
| 13 | +@interface VLionNativeAdAppWallModel : NSObject | |
| 14 | + | |
| 15 | +@property (nonatomic ,assign) int status;//状态码 | |
| 16 | +@property (nonatomic ,assign) int adt;//创意类型 | |
| 17 | +@property (nonatomic ,copy) NSString * _Nullable cid;//物料ID | |
| 18 | +@property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生 | |
| 19 | +@property (nonatomic ,assign) int tagid;//广告位id | |
| 20 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址 | |
| 21 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址 | |
| 22 | ++ (VLionNativeAdAppWallModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data; | |
| 23 | +@end | |
| 24 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdIconModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdIconModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface VLionNativeAdIconModel : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,copy ) NSString * _Nullable url; | |
| 14 | +@property (nonatomic ,assign) int w; | |
| 15 | +@property (nonatomic ,assign) int h; | |
| 16 | + | |
| 17 | +@end | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdInformationFlowModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdInformationFlowModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// 信息流广告 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdIconModel.h" | |
| 11 | +#import "VLionNativeAdNativeModel.h" | |
| 12 | + | |
| 13 | +@interface VLionNativeAdInformationFlowModel : NSObject | |
| 14 | +@property (nonatomic ,assign) int status;//状态码 | |
| 15 | +@property (nonatomic ,assign) int adt;//创意类型 | |
| 16 | +@property (nonatomic ,copy) NSString * _Nullable cid;//物料ID | |
| 17 | +@property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生 | |
| 18 | +@property (nonatomic ,assign) int tagid;//广告位id | |
| 19 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址 | |
| 20 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址 | |
| 21 | + | |
| 22 | ++ (VLionNativeAdInformationFlowModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data; | |
| 23 | +@end | |
| 24 | +//{ | |
| 25 | +// adt = 3; | |
| 26 | +// cid = "425_d"; | |
| 27 | +// "imp_tracking" = ( | |
| 28 | +// "http://a.vlion.cn/se?e=MTUwODE1MDU0MQkxNzEJNDI1CQkJczAxLjEwNzMxNTA4MTUwNTQxMjAzLm42M1l5VmJVanpWMi43UkpVSU5ZegkwCQkxCTAJCTE5NURFOTE2LUFEMjEtNDNCQi1BQkJFLUY2QzJCMTgzNzc1Nw==&t=425" | |
| 29 | +// ); | |
| 30 | +// nativead = { | |
| 31 | +// button = "\U70b9\U51fb"; | |
| 32 | +// desc = "\U9886\U5148\U7684\U5927\U6570\U636e\U6280\U672f\U670d\U52a1\U5546 \U6548\U679c\U8d4b\U80fd"; | |
| 33 | +// icon = ( | |
| 34 | +// { | |
| 35 | +// h = 300; | |
| 36 | +// url = "http://m.kejet.net/ms/tj/dsp/images/ssp/160128_300_300.jpg"; | |
| 37 | +// w = 300; | |
| 38 | +// } | |
| 39 | +// ); | |
| 40 | +// img = ( | |
| 41 | +// { | |
| 42 | +// h = 1280; | |
| 43 | +// url = "http://m.kejet.net/ms/tj/dsp/images/ssp/160129_720_1280.jpg"; | |
| 44 | +// w = 720; | |
| 45 | +// } | |
| 46 | +// ); | |
| 47 | +// ldp = "http://a.vlion.cn/sc?e=MTUwODE1MDU0MQkxNzEJNDI1CQkJczAxLjEwNzMxNTA4MTUwNTQxMjAzLm42M1l5VmJVanpWMi43UkpVSU5ZegkwCQkxCTAJCTE5NURFOTE2LUFEMjEtNDNCQi1BQkJFLUY2QzJCMTgzNzc1Nw==&t=425&f=0&g=aHR0cDovL3d3dy52bGlvbi5jbg=="; | |
| 48 | +// rating = 3; | |
| 49 | +// title = "\U9886\U5148\U7684\U5927\U6570\U636e\U6280\U672f\U670d\U52a1\U5546"; | |
| 50 | +// }; | |
| 51 | +// status = 101; | |
| 52 | +// tagid = 425; | |
| 53 | +//} | |
| 54 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdNativeModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdNativeModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/16. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdIconModel.h" | |
| 11 | + | |
| 12 | +/** | |
| 13 | + * 原生广告类型 | |
| 14 | + */ | |
| 15 | +typedef NS_ENUM(NSUInteger, NativeType) { | |
| 16 | + NativeTypeInformationFlow = 11, //信息流 | |
| 17 | + NativeTypeShuffling = 12, //轮播图 | |
| 18 | + NativeTypeWaterfall = 13, //瀑布流 | |
| 19 | + NativeTypeNews = 14, //新闻放送 | |
| 20 | + NativeTypeAppWall = 15 //应用墙 | |
| 21 | +}; | |
| 22 | + | |
| 23 | +@interface VLionNativeAdNativeModel : NSObject | |
| 24 | +@property (nonatomic ,copy) NSString * _Nullable ldp;//跳转url | |
| 25 | +@property (nonatomic ,strong) NSArray <VLionNativeAdIconModel *>* _Nullable icon;//图标model | |
| 26 | +@property (nonatomic ,strong) NSArray <VLionNativeAdIconModel *> * _Nullable img;//大图model | |
| 27 | +@property (nonatomic ,copy) NSString * _Nullable title;//标题名称 | |
| 28 | + | |
| 29 | +@property (nonatomic ,copy) NSString * _Nullable desc;//标题描述 | |
| 30 | +@property (nonatomic ,assign) int rating;//评定星级 | |
| 31 | +@property (nonatomic ,copy) NSString * _Nullable button;//按钮标题 | |
| 32 | +@property (nonatomic ,assign) int download_count;//下载次数 | |
| 33 | +@property (nonatomic ,copy) NSString * _Nullable app_download_url ;//下载地址,和ldp二选一 | |
| 34 | ++ (VLionNativeAdNativeModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data type:(NativeType)type; | |
| 35 | +@end | |
| 36 | +//信息流 | |
| 37 | +//{ | |
| 38 | +// "title": "", | |
| 39 | +// "ldp": "", | |
| 40 | +// "icon": [ | |
| 41 | +// { | |
| 42 | +// "url": "", | |
| 43 | +// "w": "", | |
| 44 | +// "h": "" | |
| 45 | +// } | |
| 46 | +// ], | |
| 47 | +// "desc": "", | |
| 48 | +// "img": [ | |
| 49 | +// { | |
| 50 | +// "url": "", | |
| 51 | +// "w": "", | |
| 52 | +// "h": "" | |
| 53 | +// } | |
| 54 | +// ], | |
| 55 | +// "rating": "", | |
| 56 | +// "button": "", | |
| 57 | +// "download_count": "" | |
| 58 | +//} | |
| 59 | + | |
| 60 | +//轮播图 | |
| 61 | +//{ | |
| 62 | +// "title": "", | |
| 63 | +// "ldp": "", | |
| 64 | +// "img": [ | |
| 65 | +// { | |
| 66 | +// "url": "", | |
| 67 | +// "w": "", | |
| 68 | +// "h": "" | |
| 69 | +// } | |
| 70 | +// ], | |
| 71 | +// "desc": "" | |
| 72 | +//} | |
| 73 | + | |
| 74 | +//瀑布流 | |
| 75 | +//{ | |
| 76 | +// "title": "", | |
| 77 | +// "ldp": "", | |
| 78 | +// "img": [ | |
| 79 | +// { | |
| 80 | +// "url": "", | |
| 81 | +// "w": "", | |
| 82 | +// "h": "" | |
| 83 | +// } | |
| 84 | +// ], | |
| 85 | +// "desc": "" | |
| 86 | +//} | |
| 87 | + | |
| 88 | +//新闻放送 | |
| 89 | +//{ | |
| 90 | +// "title": "1", | |
| 91 | +// "ldp": "", | |
| 92 | +// "icon": [ | |
| 93 | +// { | |
| 94 | +// "url": "", | |
| 95 | +// "w": "", | |
| 96 | +// "h": "" | |
| 97 | +// } | |
| 98 | +// ], | |
| 99 | +// "rating": "" | |
| 100 | +//} | |
| 101 | + | |
| 102 | +//应用墙 | |
| 103 | +//{ | |
| 104 | +// "title": "1", | |
| 105 | +// "ldp": "", | |
| 106 | +// "icon": [ | |
| 107 | +// { | |
| 108 | +// "url": "", | |
| 109 | +// "w": "", | |
| 110 | +// "h": "" | |
| 111 | +// } | |
| 112 | +// ], | |
| 113 | +// "desc": "", | |
| 114 | +// "rating": "", | |
| 115 | +// "button": "", | |
| 116 | +// "download_count": "" | |
| 117 | +//} | |
| 118 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdNewsModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdNewsModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// 新闻大放送广告 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdIconModel.h" | |
| 11 | +#import "VLionNativeAdNativeModel.h" | |
| 12 | + | |
| 13 | +@interface VLionNativeAdNewsModel : NSObject | |
| 14 | + | |
| 15 | +@property (nonatomic ,assign) int status;//状态码 | |
| 16 | +@property (nonatomic ,assign) int adt;//创意类型 | |
| 17 | +@property (nonatomic ,copy) NSString * _Nullable cid;//物料ID | |
| 18 | +@property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生 | |
| 19 | +@property (nonatomic ,assign) int tagid;//广告位id | |
| 20 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址 | |
| 21 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址 | |
| 22 | ++ (VLionNativeAdNewsModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data; | |
| 23 | +@end | |
| 24 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdShufflingModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdShufflingModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// 轮播图广告 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdNativeModel.h" | |
| 11 | +@interface VLionNativeAdShufflingModel : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,assign) int status;//状态码 | |
| 14 | +@property (nonatomic ,assign) int adt;//创意类型 | |
| 15 | +@property (nonatomic ,assign) int tagid;//广告位id | |
| 16 | +@property (nonatomic ,copy) NSString * _Nullable cid;//物料ID | |
| 17 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址 | |
| 18 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址 | |
| 19 | +@property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生 | |
| 20 | + | |
| 21 | ++ (VLionNativeAdShufflingModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data; | |
| 22 | +@end | |
| 23 | + | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Headers/VLionNativeAdWaterfallModel.h
0 → 100644
| 1 | +// | |
| 2 | +// VLionNativeAdWaterfallModel.h | |
| 3 | +// VLionADSDKDemo | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/10/12. | |
| 6 | +// Copyright © 2017年 zhulin. All rights reserved. | |
| 7 | +// 瀑布流广告 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "VLionNativeAdNativeModel.h" | |
| 11 | +@interface VLionNativeAdWaterfallModel : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,assign) int status;//状态码 | |
| 14 | +@property (nonatomic ,assign) int adt;//创意类型 | |
| 15 | +@property (nonatomic ,copy) NSString * _Nullable cid;//物料ID | |
| 16 | +@property (nonatomic ,strong) VLionNativeAdNativeModel* _Nullable nativead;//原生 | |
| 17 | +@property (nonatomic ,assign) int tagid;//广告位id | |
| 18 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable imp_tracking;//曝光监测地址 | |
| 19 | +@property (nonatomic ,strong) NSArray <NSString *>* _Nullable clk_tracking;//点击监测地址 | |
| 20 | ++ (VLionNativeAdWaterfallModel *_Nonnull)modelWithData:(NSDictionary *_Nullable)data; | |
| 21 | +@end | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Info.plist
0 → 100644
No preview for this file type
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/Modules/module.modulemap
0 → 100644
VLionADSDKDemo/VLionADSDKDemo/VLionAdSDK.framework/VLionAdSDK
0 → 100755
No preview for this file type
VLionADSDKDemo/VLionADSDKDemo/ViewController.h
VLionADSDKDemo/VLionADSDKDemo/ViewController.m
VLionADSDKDemo/VLionADSDKDemo/main.m
VLionADSDKDemo/VLionADSDKDemo/Base.lproj/LaunchScreen.storyboard renamed to VLionAdSDKDemo/VLionAdSDKDemo/Base.lproj/LaunchScreen.storyboard
| 1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| 2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> | |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> | |
| 3 | + <device id="retina4_7" orientation="portrait"> | |
| 4 | + <adaptation id="fullscreen"/> | |
| 5 | + </device> | |
| 3 | 6 | <dependencies> |
| 4 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/> | |
| 5 | - <capability name="Safe area layout guides" minToolsVersion="9.0"/> | |
| 7 | + <deployment identifier="iOS"/> | |
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/> | |
| 6 | 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| 7 | 10 | </dependencies> |
| 8 | 11 | <scenes> |
| ... | ... | @@ -10,11 +13,14 @@ |
| 10 | 13 | <scene sceneID="EHf-IW-A2E"> |
| 11 | 14 | <objects> |
| 12 | 15 | <viewController id="01J-lp-oVM" sceneMemberID="viewController"> |
| 16 | + <layoutGuides> | |
| 17 | + <viewControllerLayoutGuide type="top" id="ONc-NX-Phh"/> | |
| 18 | + <viewControllerLayoutGuide type="bottom" id="WzZ-E2-BZY"/> | |
| 19 | + </layoutGuides> | |
| 13 | 20 | <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> |
| 14 | 21 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
| 15 | 22 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
| 16 | 23 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 17 | - <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/> | |
| 18 | 24 | </view> |
| 19 | 25 | </viewController> |
| 20 | 26 | <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> | ... | ... |
VLionADSDKDemo/VLionADSDKDemo/Base.lproj/Main.storyboard renamed to VLionAdSDKDemo/VLionAdSDKDemo/Base.lproj/Main.storyboard
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> | |
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> | |
| 3 | + <device id="retina4_7" orientation="portrait"> | |
| 4 | + <adaptation id="fullscreen"/> | |
| 5 | + </device> | |
| 3 | 6 | <dependencies> |
| 4 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/> | |
| 5 | - <capability name="Safe area layout guides" minToolsVersion="9.0"/> | |
| 7 | + <deployment identifier="iOS"/> | |
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/> | |
| 6 | 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| 7 | 10 | </dependencies> |
| 8 | 11 | <scenes> |
| 9 | 12 | <!--View Controller--> |
| 10 | 13 | <scene sceneID="tne-QT-ifu"> |
| 11 | 14 | <objects> |
| 12 | - <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController"> | |
| 13 | - <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> | |
| 15 | + <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController"> | |
| 16 | + <layoutGuides> | |
| 17 | + <viewControllerLayoutGuide type="top" id="oNd-hV-S0S"/> | |
| 18 | + <viewControllerLayoutGuide type="bottom" id="BOu-Bm-AtP"/> | |
| 19 | + </layoutGuides> | |
| 20 | + <view key="view" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="8bC-Xf-vdC"> | |
| 14 | 21 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
| 15 | 22 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
| 16 | 23 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 17 | - <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/> | |
| 18 | 24 | </view> |
| 19 | 25 | </viewController> |
| 20 | 26 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | ... | ... |