iOS SDK
Use the ANVISA iOS SDK to integrate the locked ANVISA measurement and calibration flow into an iOS app.
The iOS integration uses the Objective-C API of the SDK, so it can be used directly in Swift and Objective-C projects.
Installing the SDK package
The SDK is packaged as an iOS Framework. Download the SDK package, extract it in your iOS codebase, and add the framework to your Xcode project.
Make sure to select “Copy items if needed” when adding the framework.
Initialization and view
Initialize the SDK with your Shen.AI (ANVISA) API key or short-lived token, then display the SDK view in your app.
import ShenaiSDK
let initResult = ShenaiSDK.initialize(API_KEY, userID: USER_ID, settings: nil)Use initializationMode when your app needs the calibration or calibrated measurement flow. See Initialization for examples.
Further steps
See Initialization, Configuration, and Measurement preparation for the supported Shen.AI (ANVISA) flow.