Documentation

Release Notes

v1.4.0 (2025.8.11) Download

  1. Expose the core UI component AAIIQACameraWrapperView to support fully customizable UI implementation.

  2. Support optional model file modules AAIGlobalIQA to reduce package size.

  3. When migrating from older to this version, you need to:

    1. Update the Podfile to add the following dependencies:

      pod 'AAIGlobalIQASDK', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.4.0/iOS-GlobalIQA-SDK-V1.4.0.tar.bz2', type: :tbz
      
      pod 'AAIGlobalIQAUI', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.4.0/iOS-GlobalIQA-UI-V1.4.0.tar.bz2', type: :tbz
      
      pod 'AAIGlobalIQAModel', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAIGlobalIQAModel/1.0.0/AAIGlobalIQAModel-V1.0.0.tar.bz2', type: :tbz
      
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.4.tar.bz2', type: :tbz
      
      pod 'AAICore', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAICore/1.0.1/AAICore-V1.0.1.tar.bz2', type: :tbz
    2. Then run pod install.

    3. Import AAIGlobalIQASDK and AAIGlobalIQAUI.

v1.2.8 (2025.1.20) Download

  1. Add property cardImgBase64String to AAIGlobalIQAResult to return the base64 string of the captured card image.

  2. When migrating from older to this version, you need to:

    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:

      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.2.8/iOS-GlobalIQA-SDK-V1.2.8.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.2-PrivacyInfo.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.7 (2024.10.17) Download

  1. Optimize occlusion detection.

  2. When migrating from older to this version, you need to:

    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:

      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.2.7/iOS-GlobalIQA-SDK-V1.2.7.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.2-PrivacyInfo.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.6 (2024.9.3) Download

  1. Update occlusion detection.

  2. When migrating from older to this version, you need to:

    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:

      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.2.6/iOS-GlobalIQA-SDK-V1.2.6.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.2-PrivacyInfo.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.5 (2024.8.15) Download

  1. Support occlusion detection.
  2. Fix some known bugs.
  3. When migrating from older to this version, you need to:
    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/1.2.5/iOS-GlobalIQA-SDK-V1.2.5.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.2-PrivacyInfo.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.2 (2024.7.20) Download

  1. Support Thai language.
  2. Add PrivacyInfo.xcprivacy and signature to the SDK.
  3. Fix the issue where the tipView is not visible when the tipIconVisible property is set to NO.
  4. When migrating from older to this version, you need to:
    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.2.2.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.2-PrivacyInfo.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.1 (2023.11.21) Download

  1. Expose additional UI modules for easier customization. For usage details, refer to the AAIGlobalIQASDKSwiftDemo project.
  2. When migrating from older to this version, you need to:
    1. Change the download link of module AAIGlobalIQA and AAINetwork to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.2.1.tar.bz2' , type: :tbz
      pod 'AAINetwork', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-libraries/AAINetwork/AAINetwork-V1.0.1.tar.bz2', type: :tbz 
    2. Then run pod install.

v1.2.0 (2023.5.29) Download

  1. Support configuring the operation mode of the SDK.
    /// The SDK can have different operating modes, such as real-time scanning mode, photo mode, default mode(Scanning + Photo). Default is 'AAIIQAOperatingModeDefault'.
    // e.g.
    config.operatingMode = AAIIQAOperatingModeScanning;
  2. When migrating from 1.1.8 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.2.0.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.8 (2023.4.13) Download

  1. Token authentication transformation.
  2. When migrating from 1.1.7 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.8.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.7 (2023.3.6) Download

  1. Change the default value of takePhotoAlertViewTimeoutInterval to 0s.
  2. Other optimizations.
  3. When migrating from 1.1.6 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.7.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.6 (2023.2.13) Download

  1. Minor update.
  2. When migrating from 1.1.5 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.6.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.5 (2022.11.7) Download

  1. Deprecate card type AAIIQACardTypePAGIBG, use AAIIQACardTypePAGIBIG instead.
  2. When migrating from 1.1.4 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.5.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.4 (2022.10.8) Download

  1. Fix the bug that the layout of UI elements may be incorrect when the SDK is forced into landscape mode.
  2. When migrating from 1.1.3 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.4.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.3 (2022.9.15) Download

  1. Add several card types: VOTERID, NATIONALID, PRC, PAGIBG, POSTALID.
  2. When migrating from 1.1.2 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.3.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.2 (2022.9.15) Download

  1. Fix the crash bug.
  2. When migrating from 1.1.1 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.2.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.1 (2022.9.14) Download

  1. Support setting the timing of the callback method iqaOnDetectionComplete: calls.
    // e.g.
    config.callbackAfterPageDismissed = YES;
  2. When migrating from 1.1.0 to this version, you need to:
    1. Change the download link of module AAIGlobalIQA to the following value:
      pod 'AAIGlobalIQA', :http => 'https://prod-guardian-cv.oss-ap-southeast-5.aliyuncs.com/sdk/iOS-global-IQA/iOS-GlobalIQA-SDK-V1.1.1.tar.bz2' , type: :tbz
    2. Then run pod install.

v1.1.0 (2022.8.30) Download

  1. Breaking change: Extract the network module AAINetwork.xcframework.
  2. Since the way of SDK integration has changed since this version, you need to refer to document to reintegrate the SDK if you have upgraded from the old version to the new one.

v1.0.9 (2022.8.5) Download

  1. Minor update.

v1.0.8 (2022.7.5) Download

  1. Ajust the UI.
  2. Support hide the timeLabel of scan mode.
    // e.g.
    config.uiConfig.timerLabelVisible = NO;
  3. Support ajust the margin left and right of cameraView when device in portrait mode.
    // e.g.
    config.uiConfig.cameraViewMarginLRInPortraitMode = @(12);
  4. Support customize the duration of the alert view displayed when SDK are about to enter the photo mode.
    // e.g.
    config.takePhotoAlertViewTimeoutInterval = 0;
  5. Support adding your custom UI by subclassing specified classes. See demo project for more detail.

v1.0.7 (2022.6.27) Download

  1. Ajust the UI.
  2. Support customize the background color and text color of the bottom tip view in take photo mode or preview photo mode.
    // e.g.
    config.uiConfig.takePhotoTipTextColor = UIColor.whiteColor;
    config.uiConfig.takePhotoTipBackgroundColor = UIColor.blueColor;
    config.uiConfig.previewPhotoTipBackgroundColor = UIColor.blueColor;
    config.uiConfig.previewPhotoTipTextColor = UIColor.whiteColor;
  3. Support customize the localized string.
    // e.g.
    config.uiConfig.loadLocalizedString = ^NSString * _Nonnull(NSString * _Nonnull key, NSString * _Nonnull value, NSString * _Nonnull language) {
         if ([key isEqualToString:@"iqa_top_desc"]) {
             if ([language isEqual:@"en"]) {
                 return @"My test string";
             }
         }
    
         return value;
     };

v1.0.6 (2022.6.7) Download

  1. Add pictureType property for AAIGlobalIQAResult.

v1.0.5 (2022.6.6) Download

  1. Set the result to always succeed in take photo mode.

v1.0.4 (2022.4.19) Download

  1. Support passport card type.

v1.0.3 (2022.3.21) Download

  1. Support loading specified language lproj file:
    // Specifies the language lproj file to be loaded by the SDK. e.g. "en" or "id" or "zh-Hans".
    config.languageLprojName = @"id";

v1.0.2 (2022.3.18) Download

  1. Minor update.

v1.0.1 (2022.2.17) Download

  1. Support customize icon and navigationbar background color.