PersonDetailView

struct PersonDetailView : View

This view display all the details of the user after scanning the QR code successfully. This struct represents the detail view of a person. It conforms to the View protocol.

  • Binding to control the navigation path.

    Declaration

    Swift

    @Binding
    var path: Bool { get nonmutating set }
  • Metadata of the person.

    Declaration

    Swift

    var metaData: [String : String]
  • State variable to control the view mode.

    Declaration

    Swift

    @State
    var isViewMore: Bool { get nonmutating set }
  • Environment variable to control the presentation mode.

    Declaration

    Swift

    @Environment
    var presentationMode: Binding<PresentationMode> { get }
  • State variable to indicate if it is the main view.

    Declaration

    Swift

    @State
    var isMain: Bool { get nonmutating set }
  • Face bytes data.

    Declaration

    Swift

    var faceBytes: Data
  • This struct represents the background image section of the view.

    See more

    Declaration

    Swift

    struct BackgroundImageSections : View
  • This struct represents the back button section of the view. It takes a closure onTapBack which is called when the back button is tapped.

    See more

    Declaration

    Swift

    struct BackToMainSectionFromData : View
  • Declaration

    Swift

    var body: some View { get }