Structures
The following structures are available globally.
-
IdoManagerView
is a struct which displays Idopte Manager GUI in aWebView
. Here, is a basic use of this struct from an empty swiftUI app in order to display Idopte Manager from a button:Example
import ScmApi struct ContentView: View { @State private var showWebView = false; var body: some View { Button (action: { showWebView.toggle(); }, label: { Text("Button") }) IdoManagerView(shouldShow: $showWebView); } }
Note
The
showWebView
is abinding
variable which allows theWebView
to beshown
when it is set totrue
andhiden
when it is set tofalse
. It is also possible to know the state of thisWebView
.Declaration
Swift
public struct IdoManagerView : View