Offerwall SDK for iOS
Integrate the RewardingHub offerwall in your iOS app in under 5 minutes. Full documentation with code examples.
Quick Install
pod 'RewardingHubSDK', '~> 2.4'Package manager: CocoaPods
Requirements
iOS 13+. Swift 5.5+ or Objective-C. Xcode 14+.
Initialization
import RewardingHubSDK
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
RewardingHub.initialize(appId: "YOUR_APP_ID", apiKey: "YOUR_API_KEY")
return true
}
}Usage
// Show the offerwall
RewardingHub.showOfferwall(from: viewController, userId: userId)
// Delegate for rewards
extension MyVC: RewardingHubDelegate {
func didEarnReward(_ reward: RHReward) {
print("Earned \(reward.amount) \(reward.currency)")
}
}
// SPM: Add package URL
// https://github.com/rewardinghub/ios-sdk.gitNext Steps
- Set up server-to-server postbacks for secure reward delivery
- Explore the dashboard to monitor performance
- Read best practices for offerwall placement and timing
- Full API reference for advanced features
Frequently Asked Questions
How long does iOS SDK integration take?
Most developers complete the iOS integration in under 5 minutes. The SDK handles UI rendering and offer management automatically.
Is the iOS SDK free?
Yes. The SDK is completely free for publishers. We operate on a 70% revenue share model.
What are the minimum requirements?
iOS 13+. Swift 5.5+ or Objective-C. Xcode 14+.
Ready to Integrate?
Get your API key and start earning revenue from your iOS app today.