Sparkling SDK - iOS API Reference
Native iOS SDK for hosting Sparkling content.
For usage guide and concepts, see Containers.
For the hybrid://... URL format, see Scheme.
Dependency (CocoaPods)
Initialization
SPKServiceRegister is defined in your app target (see the template under
template/sparkling-app-template/ios/.../MethodServices/SPKServiceRegistrar.swift).
SPKExecuteAllPrepareBootTask() is provided by SparklingMacro, so your app target
must depend on SparklingMacro and import it before calling this function.
SPKRouter
Opens full-page Sparkling containers. See Containers — Full-page for usage guide.
SPKContainerView
Embeds Sparkling content as a subview. See Containers — Embedded for usage guide.
SPKContext
Configuration object passed to both container types.
SPKContainerLifecycleProtocol
Callback protocol for observing container lifecycle events. Works with both container types.

