EligibilityStatusViewController

open class EligibilityStatusViewController: UIViewController

View controller to inform about eligible or ineligible status.

Simple implementation, you must assign all properties before the view is loaded, dynamic changes are not currently supported!

  • The image to show at the top, defaults to logo_disease.

    Declaration

    Swift

    open var imageName = "logo_disease"
  • Text to show at the top, bold.

    Declaration

    Swift

    open var titleText: String?
  • Text to show below the title, in normal body font but dark grey.

    Declaration

    Swift

    open var subText: String?
  • To inform the receiver that the action button cannot yet be enabled.

    Declaration

    Swift

    open var waitingForAction = false
  • The title of the one and only action button, which appears at the bottom if onActionButtonTap is defined.

    Declaration

    Swift

    open var actionButtonTitle = "Start Consent".c3_localized("Start Consent button title")
  • Action to perform when the one and only action button is tapped.

    Declaration

    Swift

    open var onActionButtonTap: ((_ controller: UIViewController) -> Void)?
  • Undocumented

    Declaration

    Swift

    open class EligibilityStatusViewController: UIViewController