enableSafariInspector
This property allows the super app to configure the Safari inspector for production builds.
Note: Must configure this property before initializing the SDK.
Property
copy
/**
* From iOS 16.4, WKWebView allows Safari inspector for production builds.
* Reference: https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/
*
* Default value NO.
*/
@property (nonatomic, assign) BOOL enableSafariInspector;
Name | Type | Description | Required |
enableSafariInspector | BOOL | Controlls whether WKWebView can enable the Safari inspector for production builds.
Note: The iOS version must be 16.4 or later. | Yes |
Sample
copy
func createGriverConfiguration() -> GRVConfiguration {
let configuration = GRVConfiguration()
configuration.enableSafariInspector = true
return configuration
}