This code snippet is part of the instructions to integrating AdMob with kivy-ios, which is documented in both a public Google Doc and a YouTube tutorial (by me).
How to integrate interstitial ads into an iOS app using kivy-ios?
Do you know of a way to move the banner to the top of the screen? I am not getting any banner movement when I adjust line 41-43.
Dear Erik, It is a beautiful guideline. However, the Xcode has been changed a lot. The code that you have used in the video gives error in the first line. And Xcode Build Settings are different. Everything is for swift but not For Kivy. Please see this link; https://developers.google.com/admob/ios/quick-start#swift
could you tell me about the differences ? Because all I got is framework errors.
Easiest way by far. This guy created a cross talk between swift and python. It works amazing, and have deployed it on multiple apps. Can't recommend it enough.
https://discord.com/channels/913144015044636702/980507747038658640
Dear Michael, thank you for your promp reply. However the link that you have send is emty. Could you give me another information about that guy.
It is the discord channel, KivySwiftLink. There is a thread 'Admob talk' which explains how to add ad support. Also a GUI implementation is nearing completion which is essentially a single click to add Admob.
It is the discord channel, KivySwiftLink. There is a thread 'Admob talk' which explains how to add ad support. Also a GUI implementation is nearing completion which is essentially a single click to add Admob.
Thank you very much. I have read most of them. I think I will figure it out.
Dear Erik, It is a beautiful guideline. However, the Xcode has been changed a lot. The code that you have used in the video gives error in the first line. And Xcode Build Settings are different. Everything is for swift but not For Kivy. Please see this link; https://developers.google.com/admob/ios/quick-start#swift
could you tell me about the differences ? Because all I got is framework errors.
I've made it runnable by fork this snippet.
Bottom, Top - change line 99-102
if (ontop)
frame.origin.y = gViewColtroller.view.bounds.size.height - AdSize.height;
else
frame.origin.y = 0.0f;
This code is NOT THE ENTIRE FILE. You need to copy/paste this code into the main.m file in your Xcode project. This code snippet can be placed directly after the imports in your main.m file.