showProgress
The showProgress parameter is used to specify whether to display the progress bar that is located under the title bar.
Note: This parameter is only effective for H5 mini program and is not for DSL and H5+ mini program.
Parameter
Definition as follows:
copy
/**
* Determines Whether show progress view.. Set to true to display the progress view, and false to hide it
* Default is YES. Only in H5 miniprogram
*/
@property (nonatomic, assign) BOOL showProgress;
Parameter | Data Type | Required | Description |
showProgress | Bool | Yes | Controls whether to show the progress bar. Valid values:
If this parameter is not specified, the progress bar is displayed by default. |
Sample
copy
let param = GRVStartupParams()
param.showProgress = true
if let viewController = try? GRVAppContainerLaunch.sharedInstance().openApp(withUrl: url.absoluteString, startupParams: param) {
let rootNav: UINavigationController? = nil // get the current UINavigationController
rootNav?.pushViewController(viewController, animated: true)
}
User experience
Value | Screenshot |
| |
|