Superwall
The shared instance of Superwall that provides access to all SDK features.
You must call configure()
before accessing Superwall.shared
, otherwise your app will crash.
Purpose
Provides access to the configured Superwall instance after calling configure()
.
Signature
Parameters
This is a computed property with no parameters.
Returns / State
Returns the shared Superwall
instance that was configured via configure()
.
Usage
Configure first (typically in AppDelegate or SceneDelegate):
Then access throughout your app:
Set user identity and attributes:
Set delegate:
How is this guide?