SecureView

@MainActor
public struct SecureView<Content> : UIViewRepresentable where Content : View

SecureView wraps SwiftUI content in a secure UITextField-based UIView to prevent screen capture.

  • Undocumented

    Declaration

    Swift

    @MainActor
    public init(@ViewBuilder content: @escaping () -> Content)
  • Declaration

    Swift

    @MainActor
    public func makeUIView(context _: Context) -> UIView
  • Declaration

    Swift

    @MainActor
    public func updateUIView(_: UIView, context _: Context)