Step 1: Include the library in your project
CocoaPods
Add the following line to your Podfile:Swift Package Manager
AddYunoSDK as a dependency:
Step 2: Initialize SDK
Initialize the SDK with your Public API Key:Step 3: Adopt YunoPaymentDelegate
Adopt theYunoPaymentDelegate protocol:
Swift 6 Concurrency RequirementsIf you’re using Swift 6, you’ll need to implement the
YunoPaymentDelegate protocol with specific concurrency considerations. See the Swift 6 Concurrency guide for detailed implementation options and best practices.Step 4: Initiate the payment process
Step 5: Continue payment (Required)
Ifsdk_action_required: true is returned by the API, call:
Demo AppSee the Yuno iOS SDK repository for full implementation examples.