Waiting Room Background Transparency Option
warning
The following content applies to iOS version 4.4.5 and above.
Overview
This document explains how to configure the background transparency option for the waiting room (WebView) in the NetFUNNEL iOS agent.
By enabling waiting room transparency, you can overlay the waiting room on top of your client app’s existing UI, reducing visual discomfort.
Parameter
| Parameter | Type | Description |
|---|---|---|
| isTransparent | NSNumber (BOOLEAN) | Whether to make the waiting room background transparent |
isTransparent
Depending on this setting, the background of the waiting room is displayed differently.
| Setting | Description |
|---|---|
true | The waiting room background is transparent, so the app's existing screen is shown behind |
false | (Default) The waiting room background is shown as opaque |
Usage Example
To use the waiting room background transparency option, add the parameter as shown below when calling the initialization function.
Using a Transparent Background
import Netfunnel_iOS
Netfunnel.shared.initialize{
clientId: "{{CLIENT_ID}}",
isTransparent: true
}
Using an Opaque Background
import Netfunnel_iOS
Netfunnel.shared.initialize{
clientId: "{{CLIENT_ID}}",
isTransparent: false
}