allluckly / lblaunchimagead Goto Github PK
View Code? Open in Web Editor NEWiOS开发轻量级启动广告,动态获取网络启动图片,具有渐变的启动动画,支持半屏和全屏,类似百度ssp广告和广点通的广告。支持广告点击等,集成非常的方便。欢迎使用,好用请star
Home Page: http://allluckly.cn/
License: MIT License
iOS开发轻量级启动广告,动态获取网络启动图片,具有渐变的启动动画,支持半屏和全屏,类似百度ssp广告和广点通的广告。支持广告点击等,集成非常的方便。欢迎使用,好用请star
Home Page: http://allluckly.cn/
License: MIT License
我现在下载您的demo,运行之后只是一个设置在Brand Assets里面的图片显示,至于其他的倒计时跳过还有网络URL的图片都没有显示,这是怎么 回事呢
此框架很好,简单易懂,可是发现一个问题:此demo在6plus真机上跑,运行此启动控件的话 内存大约为18M左右,然后不运行此启动控件的话 内存大约为4左右,这无缘无故多了十几M的内存,不知哪里出来的,看了你的代码有做removeFromSuperview释放,而且delloc方法也执行了,始终释放不掉这多余的十几M内存,求指教,详情请看我录的文件
未命名.mov.zip
let vc = TestViewController()
let adview = LBLaunchImageAdView.init(window: self.window, andType: 1, andImgUrl: "http://www.uisheji.com/wp-content/uploads/2013/04/19/app-design-uisheji-ui-icon20121_55.jpg")
adview!.clickBlock = {(LBClick) in
switch LBClick {
case 1100:
NSLog("jump to the ad link")
vc.view.backgroundColor = UIColor.whiteColor()
self.window?.rootViewController?.presentViewController(vc, animated: true, completion: nil)
break
case 1101:
NSLog("drectly jump to the homescreen")
break
case 1102:
NSLog("drectly jump to the homescreen")
break
default:
break
}
}
I just figured it out. Hope it help~
【需求单】
1、可以播放视频(本地 和 远程的);
https://github.com/CoderZhuXH/XHLaunchAd 这个框架就可以播放视频,只是作者没有维护,但是可以看到作者的前瞻性,这么久了只是iOS系统Api升级造成的。
2、时间模块(计时器),单独用一个工具类进行封装,不要和业务代码裹在一起;
这是我自己封装的Timer框架https://github.com/295060456/JobsTimer
可以适当参考
//是否能点击
imgAdView.isClickAdView = NO;
请问为什么禁用点击无效呢?
我看最新版 : 优化无法释放的问题 重新创建了一个控制器,并设置成了window的rootvc。但是这样一来,就会把我的原本跟控制器给替换掉。导致广告消失之后会显示空白页面...
NSObject+LBLaunchImage 这个类怎么没有上传?
您好 我要添加多张图怎么弄? 没有找到添加多张图的API,能否提供多张图API谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.