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 showManager = false var body: some View { ZStack { Button("Open Manager") { showManager.toggle() } IdoManagerView(shouldShow: $showManager) } } }
Note
The
showManager
is abinding
variable which allows the Manager to be shown when it is set totrue
and hiden when it is set tofalse
. It is also possible to know the Manager display state.Declaration
Swift
public struct IdoManagerView : View