Skip to content

Instructions

  • The SDK can show an animation to help position a document correctly.

Show/hide the help animation:

DocReader.shared.customization.showHelpAnimation = true
[RGLDocReader shared].customization.showHelpAnimation = YES;
  • You can add an image for the help animation. If not set, the default image is used:
DocReader.shared.customization.helpAnimationImage = UIImage(named: "icon")
[RGLDocReader shared].customization.helpAnimationImage = [UIImage imageNamed:@"icon"];
  • To change the content mode of the help animation image, use one of the UIView.ContentMode members:
DocReader.shared.customization.helpAnimationImageContentMode = UIView.ContentMode.scaleAspectFit
[RGLDocReader shared].customization.helpAnimationImageContentMode = UIViewContentModeScaleAspectFit;

Next Steps