EULAView
EULAView
is used to display the End User License Agreement, EULA.
Usage
EULAView(title: "EULA",
bodyText: "BodyText",
didAgree: {
print("EULAView - didAgree")
},
didDisagree: {
print("EULAView - didDisagree")
},
didCancel: {
presentationMode.wrappedValue.dismiss()
})
-
init(title:
bodyText: agreeAction: disagreeAction: cancelAction: didAgree: didDisagree: didCancel: componentIdentifier: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, @ViewBuilder bodyText: () -> any View = { EmptyView() }, @ViewBuilder agreeAction: () -> any View = { FioriButton { _ in Text("Agree".localizedFioriString()) } }, @ViewBuilder disagreeAction: () -> any View = { FioriButton { _ in Text("Disagree".localizedFioriString()) } }, @ViewBuilder cancelAction: () -> any View = { FioriButton { _ in Text("Cancel".localizedFioriString()) } }, didAgree: (() -> Void)? = nil, didDisagree: (() -> Void)? = nil, didCancel: (() -> Void)? = nil, componentIdentifier: String? = EULAView.identifier)
-
Undocumented
Declaration
Swift
static let identifier: String
-
Undocumented
Declaration
Swift
init(title: AttributedString, bodyText: AttributedString? = nil, agreeAction: FioriButton? = FioriButton { _ in Text("Agree".localizedFioriString()) }, disagreeAction: FioriButton? = FioriButton { _ in Text("Disagree".localizedFioriString()) }, cancelAction: FioriButton? = FioriButton { _ in Text("Cancel".localizedFioriString()) }, didAgree: (() -> Void)? = nil, didDisagree: (() -> Void)? = nil, didCancel: (() -> Void)? = nil)
-
Undocumented
Declaration
Swift
init(_ configuration: EULAViewConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }