GitHub Repository
iOS SDK Example
iOS SDK example project
Example Project Structure
We provide examples in three different approaches: SwiftUI, UIKit, and Objective-C.- SwiftUI
- UIKit
- Objective-C
Available in the
adrop-ads-example-ios-swiftUI/ folder.This is an example implementing ads with SwiftUI-based declarative UI.How to Run Examples
The example project uses test unit IDs, so you can run it immediately without any additional configuration.
Key Example Code
Banner Ad (SwiftUI)
Interstitial Ad (UIKit)
Interstitial Ad (Objective-C)
User Event Tracking
Related Documentation
Getting Started
SDK installation and initialization
Banner Ad
Banner ad implementation
Interstitial Ad
Interstitial ad implementation
Reference
API reference