MQZHot / Zlaunchad
Licence: mit
快速集成启动广告,支持LaunchImage和LaunchScreen,支持GIF,支持本地图片,支持视图过渡动画
Stars: ✭ 412
Programming Languages
swift
15916 projects
Labels
Projects that are alternatives of or similar to Zlaunchad
NSVLocalizationKit
Localize directly from Storyboard or Xib, it will automatically update all texts after in app language changing, without any line of code
Stars: ✭ 21 (-94.9%)
Mutual labels: storyboard
GradientBorderedLabelView
IBDesignable label with customizable gradient attributes
Stars: ✭ 70 (-83.01%)
Mutual labels: storyboard
xcode-canvas-color
macOS tweak that changes the background color of Xcode's storyboard editor
Stars: ✭ 17 (-95.87%)
Mutual labels: storyboard
Restaurant-Viewing-App
Build A Restaurant Viewing App in Swift 4.2
Stars: ✭ 43 (-89.56%)
Mutual labels: storyboard
Ambtableviewcontroller
Storyboard and Prototype Cells-centric block-based UITableView controller to manage complex layouts.
Stars: ✭ 372 (-9.71%)
Mutual labels: storyboard
Translatio
Super lightweight library that helps you to localize strings, even directly in storyboards!
Stars: ✭ 19 (-95.39%)
Mutual labels: storyboard
RSCustomTabbarController
This is super flexible Custom tab bar controller implementation. You have the complete opportunity to customise according to your necessity ( ## Also support swift ## )
Stars: ✭ 35 (-91.5%)
Mutual labels: storyboard
ios ui recipe showcase
iOSアプリ開発 - UI実装であると嬉しいレシピブック掲載サンプル
Stars: ✭ 54 (-86.89%)
Mutual labels: storyboard
KDRearrangeableCollectionViewFlowLayout
A Drag and Rearrange UICollectionView through its layout
Stars: ✭ 73 (-82.28%)
Mutual labels: storyboard
NeumorphismTab
Custom TabBarController with Neumorphism.
Stars: ✭ 78 (-81.07%)
Mutual labels: storyboard
font-wonder-unit
Free and open source sans-serif font, brought to you by Wonder Unit.
Stars: ✭ 57 (-86.17%)
Mutual labels: storyboard
Swiftymenu
Simple and Elegant Drop down menu for iOS 🔥💥
Stars: ✭ 356 (-13.59%)
Mutual labels: storyboard
SwiftyAcknowledgements
Integrate acknowledgements into your iOS App
Stars: ✭ 40 (-90.29%)
Mutual labels: storyboard
ZLaunchAd
ZLaunchAd集成启动广告,支持LaunchImage
和LaunchScreen
,支持GIF,支持本地图片,支持视图过渡动画
功能
- [x] 支持进入前台广告显示,设定时间间隔,进入后台后返回的时间大于间隔才进行显示
- [x] 接收自定义通知控制图片显示
- [x] 支持Objective-C/Swift
- [x] 自带图片缓存,清除缓存
- [x] 自定义跳过按钮外观、位置
- [x] 支持网络/本地资源,支持GIF图片显示
- [x] 支持LaunchImage和LaunchScreen.storyboard.
- [x] 支持广告点击事件,支持广告完成动画设置
安装
CocoaPods
platform :ios, '8.0'
use_frameworks!
target 'YourTargetName' do
pod 'ZLaunchAd'
end
Carthage
github "MQZHot/ZLaunchAd"
Swift Package Manager
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/MQZHot/ZLaunchAd.git", from: "2.1.0"),
]
)
使用
/// 进入前台时显示
func create(waitTime: Int = 3, showEnterForeground: Bool = false, timeForWillEnterForeground: Double = 10, adNetRequest: ((ZLaunchAdView)->())? = nil) -> ZLaunchAdView
/// 自定义通知控制出现
func create(waitTime: Int = 3, customNotificationName: String?, adNetRequest: ((ZLaunchAdView)->())? = nil) -> ZLaunchAdView
配置图片资源----配置跳过按钮
func setImageResource(_ imageResource: ZLaunchAdImageResourceConfigure, buttonConfig: ZLaunchSkipButtonConfig? = nil, action: ZLaunchClosure?)
页面配置
-
ZLaunchSkipButtonConfig
:跳过按钮配置 -
ZLaunchAdImageResourceConfigure
:配置广告图
清除缓存
/// 清除全部缓存
ZLaunchAd.clearDiskCache()
/// 清除指定url的缓存
let array = ["http://..", "http://..", "http://..", "http://.."]
ZLaunchAd.clearDiskCacheWithImageUrlArray(array)
联系
- Email: [email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].