Hologram Detection
- You can add an image for the hologram animation. If not set, the default image is used:
DocReader.shared.customization.hologramAnimationImage = UIImage(named: "icon")
[RGLDocReader shared].customization.hologramAnimationImage = [UIImage imageNamed:@"icon"];
- To change the content mode of the hologram animation image, use one of the
UIView.ContentMode
members:
DocReader.shared.customization.hologramAnimationImageContentMode = UIView.ContentMode.scaleAspectFit
[RGLDocReader shared].customization.hologramAnimationImageContentMode = UIViewContentModeScaleAspectFit;
- Change the vertical position of the hologram animation image:
DocReader.shared.customization.hologramAnimationPositionMultiplier = 0.5
[RGLDocReader shared].customization.hologramAnimationPositionMultiplier = 0.5;