FUIOnboardingPhotoPickerDelegate
@objc
public protocol FUIOnboardingPhotoPickerDelegate
Delegate protocol for FUIOnboardingPhotoPicker.
-
A QR code has been successfully scanned. The implementation should validate this QR code.
Declaration
Swift
@objc optional func photoPicker(_ photoPickerController: FUIOnboardingPhotoPicker, shouldValidateScanResult scanResult: String) -> BoolReturn Value
True if the QR code is validated successfully. The confirm alert will be displayed. Otherwise, an alert will be displayed to alert the user to select another QR code image. The caller can use the
invalidQRCodeTitleString,invalidQRCodeMessageString, andokButtonStringproperties to customize the alert.