Is there a way (or a hack) to support advertisements in a scene class? I want to show a banner ad at the top or bottom of the screen, how would I go about doing this?
Forum Archive
Ads in a Scene?
Currently I don't think there's a way to do this inside of Pythonista. You would have to export your project to XCode and then put ads in from there.
1) download your banner image from a website, using urllib, urllib2, or requests.
2) display it in your scene using scene.image
Of course, anyone could simply remove that line of code an run your app without ads, but presumably you are talking about distributing your app to the App Store, otherwise why bother?
@JonB
I think this could work for still images without interactivity - but would it work for iAds/Admob/etc?
There has to be some kind of way. I know it would be much easier using UI, but I am not using the UI module.
@LawAbidingCactus
How would I go about placing ads over Pythonista in XCode?
Is it possible to put a banner ad over a standalone app in XCode?
@Shambhala There is currently no way to do this in Pythonista. You'd have to learn Objective-C and C.
@techteej Yeah, that's what I expected. How do I do it in Objective-C?
You can publish Swift apps now, so you can avoid Objective-C if you like.
If you mainly write games (like me), you can't beat ray wenderlich for iOS tutorials.
http://www.raywenderlich.com/1371/iad-tutorial-for-ios-how-to-integrate-iad-into-your-iphone-app