AI Migration Helper
Select the SDK version you use now and the version you are upgrading to, then copy the prompt. It contains every migration note between the two versions, with instructions for an AI coding assistant to apply them. Paste it into the assistant opened in your project, and review the changes it makes before you commit them.[9.2.x] -> [9.3.1]
3D Liveness Updated: Debugger Crash and the New iDenfyLivenessDev Module
The 3D liveness version was updated. Because of increased security, the regular iDenfySDK/iDenfyLiveness module now crashes when 3D liveness starts while the Xcode debugger is attached. Release builds and builds run without the debugger are not affected. To debug an app that uses 3D liveness, switch to the new development-only module while you develop:iDenfyLivenessDev-spm Swift package. See Debugging 3D Liveness.
Document Recognition Removed
Document Recognition has been removed and replaced by document auto capture, which is built into the base SDK. Auto capture detects the document edges in real time and takes the photo once the document fits the frame and is held still. The iDenfySDK/iDenfyRecognition module is no longer available. If you use it, switch to one of the modules listed in the quickstart, with either CocoaPods or Swift Package Manager. The UI settings of the removed auto capture failure card no longer exist. Remove any assignments to them:IdenfyPhotoResultViewUISettingsV2.idenfyPhotoResultViewAutoCaptureFailureCardImageColorIdenfyPhotoResultViewUISettingsV2.idenfyPhotoResultViewAutoCaptureFailureCardTitleColorIdenfyPhotoResultViewUISettingsV2.idenfyPhotoResultViewAutoCaptureFailureCardBackgroundColor
Document Camera Feedback Label Replaces the Alert Card
The document camera now shows feedback, such as “Fit within the frame” and “Hold still…”, in a label that the SDK adds to the camera screen. The yellow alert card is no longer shown. DocumentCameraViewableV2documentCameraAlertCard, documentCameraAlertCardImage and documentCameraAlertCardTitle are deprecated. They remain in the protocol, so a custom view still compiles, but the SDK no longer displays them. Keep them hidden and do not add them to your layout:
IdenfyDocumentCameraSessionUISettingsV2 changed accordingly:
- Removed:
idenfyDocumentCameraAlertCardBackgroundColor,idenfyDocumentCameraAlertCardImageTintColor,idenfyDocumentCameraAlertCardTitleColor,idenfyDocumentCameraAlertCardTitleFont - Added:
idenfyDocumentCameraPreviewSessionFeedbackLabelTextColor(white) andidenfyDocumentCameraPreviewSessionFeedbackLabelFont(semibold, 14pt) - Added:
idenfyDocumentCameraPreviewSessionScanBandColor(idenfyBorderGreenV2),idenfyDocumentCameraPreviewSessionRectangleDetectedColor(idenfyBorderGreenV2) andidenfyDocumentCameraPreviewSessionRectangleWarningColor(idenfyDarkRedErrorColorV2) — the colors of the scan band and of the document rectangle while the document fits the frame or needs adjusting
Camera Onboarding Instructions Redesigned
Every onboarding instruction is now a tip with an icon, a bold title and a description. The single title above the instruction list was removed. StaticCameraOnBoardingViewableV2idenfyUILabelinstructionDescriptionsTitle was removed from the protocol and is no longer set by the SDK. If your custom view still declares it, remove the label from your layout and constrain instructionDescriptionsTableView to instructionCameraOnBoardingProgressView instead.
InstructionDescriptionsCellViewableV2
The protocol has three new requirements: instructionDescriptionsIcon, instructionDescriptionsTitleLabel and instructionDescriptionsDescLabel. A custom cell must add them to compile. instructionDescriptionsLabel and instructionDescriptionsCircle are deprecated in favor of the title label and the icon.
IdenfyStaticCameraOnBoardingViewUISettingsV2 changed accordingly:
- Removed:
idenfyCameraOnBoardingInstructionDetailsTitleTextColor,idenfyCameraOnBoardingInstructionDetailsTitleTextFont - Added:
idenfyCameraOnBoardingInstructionDetailsTableViewCellDescColor,idenfyCameraOnBoardingInstructionDetailsTableViewCellTitleFont(bold, 14pt)
Face Detection Indicators Deprecated
DrawerContentViewableV2faceDetectionAlertImage and faceDetectionProgressViewV2 are deprecated and no longer used. They remain in the protocol, so a custom drawer still compiles. Keep them hidden.
IdenfyCommonColors.idenfyFaceDetectedColor and IdenfyCommonColors.idenfyFaceNotDetectedColor were removed. Remove any assignments to them, otherwise your code does not compile, and set the face oval colors in IdenfyFaceCameraSessionUISettingsV2 instead:
IdenfyFaceCameraSessionUISettingsV2 also has two new fields: idenfyFaceCameraPreviewSessionFaceOvalWarningColor (idenfyDarkRedErrorColorV2) — the oval color when the face is outside the oval, too close, too far, or when several faces or closed eyes are detected — and idenfyFaceCameraPreviewSessionScanBandColor (idenfyBorderGreenV2) — the scan band shown inside the oval.
IdenfyCommonColors.idenfyGrayColorV2 is a new common color.
Camera Drawer Anchored to the Safe Area
InDocumentCameraViewV2 and FaceCameraViewV2, the drawer no longer has a fixed height. Its bottom is constrained to the top of the safe area, so the layout follows inset changes such as an iPhone Duo fold or unfold:
FaceCameraViewV2, the top of the face oval uses the same anchor. If your custom camera view copies the old constraints, update them to match.
Custom Logo Support
IdenfyUIBuilderV2 and IdenfyFaceAuthUIBuilder have a new withLogo(_:placement:) method, and Bank Card Verification has new IdenfyBankCardVerificationUISettings. These are additions — see Applying a Custom Logo.
New Landscape Camera Views
The document, face and bank card cameras now use separate views when the camera is shown wider than tall, for example on an unfolded iPhone Duo or in an iPad window. The camera screen is recreated when the orientation changes.
The landscape views conform to the existing protocols, and the builder methods are additions to
IdenfyViewsBuilderV2. If you provide a custom camera view without a landscape one, your custom view is used in both orientations — check that it lays out correctly when it is wider than tall, or provide a landscape view:
UI Settings Changes
- Added to
IdenfyCustomAlertDialogUISettings:idenfyCustomAlertDialogDimmedBackgroundColor(black) andidenfyCustomAlertDialogDimmedBackgroundAlpha(0.4) — the dim shown behind custom dialogs and bottom sheets. Dialogs previously used a fixed0.6alpha, so the default dim is lighter; set the alpha to0.6to keep the previous look. - Added to
IdenfyBottomSheetUISettingsV2:idenfyBottomSheetDimmedBackgroundAlpha. - Added to
IdenfyToolbarUISettingsV2:idenfyStatusBarStyle(.darkContent),idenfyCameraPreviewSessionStatusBarStyle(.lightContent),idenfyDuoSideToolbarEnabled,idenfyDuoButtonStyleandidenfyDuoButtonTintColor.
[9.2.3] -> [9.2.7]
Document Not Found Alert Renamed to Country Mismatch Alert
IdenfyDocNotFoundAlert has been renamed to IdenfyCountryMismatchAlert. The delegate protocol has also been renamed:
IdenfyDocNotFoundAlert or implemented its delegate, update to the new class and protocol names and add the new countryMismatchAlertBackButtonPressedAction() method.
Alert Background Color Consolidation
A new sharedIdenfyCustomAlertDialogUISettings class has been added. Existing alert UI settings classes (IdenfyGlareAndBlurAlertUISettigsV2, IdenfyInstructionAlertUISettigsV2, IdenfyMismatchFoundAlertUISettigsV2, IdenfyMrzNotFoundAlertUISettigsV2, IdenfyPrivacyPolicyViewUISettingsV2) now delegate their background color defaults to IdenfyCustomAlertDialogUISettings.idenfyCustomAlertDialogBackgroundColor. If you were overriding per-alert background colors, the behavior is unchanged — but you can now use the single shared override point instead.
New Bank Card Verification Views
Nine newViewable protocols have been added for the Bank Card Verification standalone flow:
BankCardOnboardingViewableV2BankCardUploadViewableV2BankCardUploadReviewViewableV2BankCardSelectionViewableV2BankCardCameraViewableV2BankCardPhotoResultViewableV2BankCardVerificationPrivacyPolicyViewableV2BankCardVerificationResultsViewableV2EIDSessionCPFCheckViewableV2
IdenfyViewsBuilderV2 via new withBankCard*ViewV2(...) builder methods. No existing builder methods or protocols have changed — these are pure additions.
Glare and Blur Alert UI Settings Updated
IdenfyGlareAndBlurAlertUISettigsV2 has new properties and a font change:
- Added:
idenfyGlareAndBlurAlertCommonInformationSummaryTextColorandidenfyGlareAndBlurAlertCommonInformationSummaryFont(bold, 20sp) — control the new summary label style. - Changed:
idenfyGlareAndBlurAlertCommonInformationTitleFontchanged from bold 24sp to regular 14sp. The title label now serves as a description below the summary.
idenfyGlareAndBlurAlertCommonInformationTitleFont, review your customization — the label’s role has changed.
[9.1.x] -> [9.2.2]
Face Oval View
IdenfyFaceOvalV2 has been removed. IdenfyFaceOvalV3 is now the only face oval class. The deprecated idenfyUIViewFaceOval (typed as IdenfyFaceOvalV2) has been removed from the FaceCameraViewableV2 protocol:
If You Already Use IdenfyFaceOvalV3
No changes needed. Just remove the old IdenfyFaceOvalV2 property if you still have it.
If You Still Use IdenfyFaceOvalV2
Replace it with an IdenfyFaceOvalV3 instance under the idenfyUIViewFaceOvalV3 property name:
Face Detection Progress View
The deprecatedfaceDetectionProgressView has been removed from DrawerContentViewableV2. The remaining faceDetectionProgressViewV2 is the only progress view:
If You Already Use faceDetectionProgressViewV2
No changes needed. Just remove the old faceDetectionProgressView property if you still have it.
If You Still Use faceDetectionProgressView
Rename it to faceDetectionProgressViewV2:
[9.0.x] -> [9.1.0]
RTL Layout Support
Arabic locale support has been added. All SDK views now useleading/trailing constraints instead of left/right to properly support right-to-left (RTL) languages.
If you have overridden any SDK views, you must migrate your custom constraints to use leading/trailing instead of left/right, otherwise runtime crashes may occur. For example:
leftAnchor→leadingAnchorrightAnchor→trailingAnchorNSLayoutConstraintwith.left→.leadingNSLayoutConstraintwith.right→.trailingText Alignmentwith.left→.idenfyNaturalTransform DirectionwithHardcoded→idenfyDirectionalTranslation:
[8.x.x] -> [9.0.0]
New iDenfy Privacy Policy View
New privacy policy view is a required step for onboarding users. PrivacyPolicyViewableV2 was completely redone:
Country and Document Selection Steps Combined Into One View
A new Country & Document selection view was added, which combines the old two views into one. The new CountryAndDocumentSelectionViewable is added:
Auto Country and Document Detection Feature
Along with this feature, a new card is presented in DocumentCameraViewableV2 to show detected country and supported documents for it. An updated view looks like this:
Updated UI for iDenfy Splash Screen
Both SplashScreenV2View and FaceAuthenticationSplashScreenV2View were redone, we use simple white and black colors without complicated iDenfy gradients:
[8.6.x] to [8.7.5]
Updated Country Selection UISearchBar to Support iOS 26
Follow this migration guide point if you have implemented custom views of CountrySelectionViewableV2.
[8.6.2] to [8.6.3]
Updated Face Capture Oval Design

Follow this migration guide point if you have implemented custom views of FaceCameraViewableV2.
idenfyUIViewFaceOval is still available but deprecated and will be removed in the future.
[8.5.x] to [8.6.0]
Added Realtime Blur Glare Detection in Document Capture
Follow this migration guide point if you have implemented custom views of DocumentCameraViewableV2.
[8.5.x] to [8.5.7]
KYC Questionnaire FILE and IMAGE Questions Merged
ImageQuestionCell has been removed:
[8.4.x] to [8.5.0]
Added Face Detection Progress View to the Camera Drawer
Follow this migration guide point if you have implemented custom views of DrawerContentViewableV2.
[8.3.x] to [8.4.0]
Removed Dynamic OnBoarding View
.withOnBoardingViewType(.multipleDynamic) option is no longer available in IdenfyUISettingsV2.
Follow this migration guide point if you have implemented custom views of DynamicCameraOnBoardingViewableV2.
.withDynamicCameraOnBoardingView option. Use .withStaticCameraOnBoardingView viewable instead.
You can check new, fully implemented views in the sample application.
The IdenfyDynamicCameraOnBoardingViewUISettingsV2 class has been removed. The static onBoarding view has its own IdenfyStaticCameraOnBoardingViewUISettingsV2 class.
[8.2.x] to [8.3.0]
Removed Instructions Drawer Option from Camera View
The instructions drawer has been removed. The top drawer will remain static as if instructions were disabled, and will only hold camera descriptions and the app bar..withInstructions(IdenfyInstructionsType.drawer) option is no longer available in IdenfyUIBuilderV2.
Follow this migration guide point if you have implemented custom views of DrawerContentViewableV2, DocumentCameraViewableV2 or FaceCameraViewableV2.
.withDrawerContentView option. However, DocumentCameraViewableV2 and FaceCameraViewableV2 now include the DrawerContentViewableV2 view, which you can easily override:
setupUIViewFaceOval() function of FaceCameraViewV2 has been refactored with a helper function to get the drawer height:
After Capturing Photos, Camera Results View Will Appear Instantly
Since the camera results view will appear instantly, it will show a loading spinner while the photo loads.Follow this migration guide point if you have implemented custom views of CameraResultViewableV2.