# SecureDisplayView

    public final class SecureDisplayView : UIView

Secure display view preventing leaking of content

Show on GitHub

- `secure(_:acceptsInput:)`

  Will protect the provided view.

  #### Declaration

  Swift

      public static func secure(_ view: UIView, acceptsInput: Bool = false) -> SecureDisplayView

  Show on GitHub

### Protect content from leaking

- `subviews`

  Undocumented

  #### Declaration

  Swift

      public override var subviews: [UIView] { get }

  Show on GitHub
- `inputView`

  Undocumented

  #### Declaration

  Swift

      public override var inputView: UIView? { get }

  Show on GitHub
- `inputViewController`

  Undocumented

  #### Declaration

  Swift

      public override var inputViewController: UIInputViewController? { get }

  Show on GitHub
- `textInputMode`

  Undocumented

  #### Declaration

  Swift

      public override var textInputMode: UITextInputMode? { get }

  Show on GitHub
- `accessibilityLabel`

  Undocumented

  #### Declaration

  Swift

      public override var accessibilityLabel: String? { get set }

  Show on GitHub
- `accessibilityValue`

  Undocumented

  #### Declaration

  Swift

      public override var accessibilityValue: String? { get set }

  Show on GitHub
- `accessibilityHint`

  Undocumented

  #### Declaration

  Swift

      public override var accessibilityHint: String? { get set }

  Show on GitHub
- `isAccessibilityElement`

  Undocumented

  #### Declaration

  Swift

      public override var isAccessibilityElement: Bool { get set }

  Show on GitHub

### Protect methods that may be used to trick view into leaking content

- `reloadInputViews()`

  Undocumented

  #### Declaration

  Swift

      public override func reloadInputViews()

  Show on GitHub
- `insertSubview(_:at:)`

  Undocumented

  #### Declaration

  Swift

      public override func insertSubview(_ view: UIView, at index: Int)

  Show on GitHub
- `exchangeSubview(at:withSubviewAt:)`

  Undocumented

  #### Declaration

  Swift

      public override func exchangeSubview(at index1: Int, withSubviewAt index2: Int)

  Show on GitHub
- `addSubview(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func addSubview(_ view: UIView)

  Show on GitHub
- `insertSubview(_:belowSubview:)`

  Undocumented

  #### Declaration

  Swift

      public override func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)

  Show on GitHub
- `insertSubview(_:aboveSubview:)`

  Undocumented

  #### Declaration

  Swift

      public override func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView)

  Show on GitHub
- `bringSubviewToFront(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func bringSubviewToFront(_ view: UIView)

  Show on GitHub
- `sendSubviewToBack(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func sendSubviewToBack(_ view: UIView)

  Show on GitHub
- `didAddSubview(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func didAddSubview(_ subview: UIView)

  Show on GitHub
- `willRemoveSubview(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func willRemoveSubview(_ subview: UIView)

  Show on GitHub
- `layoutSubviews()`

  Undocumented

  #### Declaration

  Swift

      public override func layoutSubviews()

  Show on GitHub
- `systemLayoutSizeFitting(_:)`

  Undocumented

  #### Declaration

  Swift

      public override func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize

  Show on GitHub
- `systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)`

  Undocumented

  #### Declaration

  Swift

      public override func systemLayoutSizeFitting(_ targetSize: CGSize,
                                                   withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority,
                                                   verticalFittingPriority: UILayoutPriority) -> CGSize

  Show on GitHub

### Protect views

- `init(secure:acceptsInput:)`

  Create SecureDisplayView protecting the provided view.

  #### Declaration

  Swift

      public convenience init(secure subview: UIView, acceptsInput: Bool = false)

  Show on GitHub