ysoftware / banner-view-controller Goto Github PK
View Code? Open in Web Editor NEW(Swift) Puts adaptive ad banner on your screen with a few lines of code
(Swift) Puts adaptive ad banner on your screen with a few lines of code
Due to iPhone X and safeAreaLayoutGuide
this code doesn't work as intended any more. I hope you find time to update it. For a reference you can check this file.
First of all thanks for your example. I am trying to use your code with iAd and admob fallback. If iAd is not available admob shows and ass soon as iAd available it hides admob and show iAd. If both if them are not available it hides all. However I couldn't implement remove banner method since the logic is quite complex. If you have time could you add admob fallback? Thanks again for the code it really helped me a lot!
Ps: why don't you call super from viewDidLayoutSubviews
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.