> >

IOS FAQ

Q:Why specify the language through the API method but it does not take effect?
A:The number of languages that can be configured in different versions is different. Please confirm whether the current version supports the specified language. If your version supports the language, please confirm whether the connected SDK is the latest version obtained from the backend of Geetest and use the local dependency method. The remote dependencies are not supported.

Q:Is it possible to remove or customize the loading bar?
A:If you want to remove the loading bar, delete the source file gt4-loading.gif is the way. However, the user experience will be decreased in the poor network environment because there is no loading signal on the page. The custom loading processes are as follows:

  1. Replace the resource file gt4-loading.gif
  2. Configure config.additionalParameter = [NSMutableDictionary dictionaryWithDictionary:@{@"loading":@""}],so the code to implement custom loading animation,the laoding bar will be removed in the gtCaptchaSessionWillShow: callback
  3. Use resourcePath to specify a custom resource file path. Supports requesting remote files or accessing local files

Q: The error that the ARC library cannot be linked is reported when using Xcode 14.3 to run project of which the minimum version is below 9.0

A: The reason is that Xcode 14.3 removed ARC-related libraries, and iOS 9.0 and above systems have built-in ARC libraries, so there are two solutions:

  1. Optionally set the project target minimum version to 9.0 or above
  2. Copy the ARC library in the Xcode version below 14.3 to the corresponding path of the Xcode 14.3 version
Was this helpful?
Send