The FunLittleAds SDK allows you to insert ads into your iOS and macOS applications. Visit https://funlittleads.com to create an account and get started!
This Swift Package includes demo projects for iOS, macOS using AppKit, and SwiftUI targets for both iOS and macOS.
The steps that you should follow include:
Your integration depends on the way platform you're building with. For example, for an iOS app built with UIKit:
AdUnitController
, providing the SDK token you got from the website:var funLittleController = AdUnitController(adId: "8c9a5649-64d8-40fa-8c38-8231e759502a")
funLittleAdView
).viewDidLoad()
method, embed the ad into this view!funLittleController.embedAdUnit(for: funLittleAdView)
That's it!
For bonus points, you can also include an information screen telling your users about FunLittleAds. It displays some information about the ad network and shows an audit of the data sent to show that we're a good, fun little ad network. It's as simple as pointing a button action to a line like this:
AboutFLAController().showFLAAuditView(from: self)
Where self
is a view controller.
Hit me up via email: [email protected].
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics