FUIOnboardingPhotoPicker
@MainActor
public class FUIOnboardingPhotoPicker : UIViewController, PHPickerViewControllerDelegate
This controller is to display the photo picker to select a QR code for app activation.
Attention
The delegate object with type FUIOnboardingPhotoPicker is declared as a weak reference. On deallocation it will be automatically set to nil. To keep it alive as expected, developer should retain the delegate object during its whole execution scope.
-
The
FUIOnboardingPhotoPickerDelegateimplementation.Declaration
Swift
@MainActor public weak var delegate: FUIOnboardingPhotoPickerDelegate? -
The title of the alert when the user selects an image from the photo library for a QR code but could not find a valid QR code on that image. The default string is from the localized strings file - “Scan Unsuccessful”
Declaration
Swift
@MainActor public var scanUnsuccessfulTitleString: String? -
The message of the alert when the user selects an image from the photo library for a QR code but could not find a valid QR code on that image. The default string is from the localized strings file - “Please select a QR code image.”
Declaration
Swift
@MainActor public var scanUnsuccessfulMessageString: String? -
The string to be used on the button to dismiss the alert. The default string is from the localized strings file - “OK”
Declaration
Swift
@MainActor public var okButtonString: String? -
The title of the alert when the user got the QR code from the photo library for onboarding activation. However, the system does not recognize the QR code. The default string is from the localized strings file - “Invalid QR Code”
Declaration
Swift
@MainActor public var invalidQRCodeTitleString: String? -
The message of the alert when the user got the QR code from the photo library for onboarding activation. However, the system does not recognize the QR code. The default string is from the localized strings file - “The QR code was not recognized.”
Declaration
Swift
@MainActor public var invalidQRCodeMessageString: String? -
The title of the alert when the user got the QR code from the photo library for onboarding activation, and the system recognizes the QR code. The default string is from the localized strings file - “Scan Succeeded”
Declaration
Swift
@MainActor public var confirmationTitleString: String? -
The message of the alert when the user got the QR code from the photo library for onboarding activation, and the system recognizes the QR code. The default string is from the localized strings file - “You will be connected to: ”
Declaration
Swift
@MainActor public var confirmationMessageString: String? -
The HCP server name.
Declaration
Swift
@MainActor public var hcpServer: String! -
The title string for the “Continue” button. The default string is from the localized strings file - “Continue”
Declaration
Swift
@MainActor public var continueButtonTitleString: String? -
Declaration
Swift
@MainActor public func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult])