The ARViewController provides an infrastructure for your application to manage BearScanner.
You can create instances of ARViewController or its subclasses and use these objects to provide
the specific behavior and visual appearance you need.

  • recognitionTimeout - The time after that scanner will be paused. The default value of this property is 8 seconds;
  • scanlineColor - Customize scan line color. The default value of this property is purple color;
  • handler - The object conforms to ARHandlerProtocol to control Bear scanner features;
  • delegate - Use your own ARDelegate implementation. Delegate provides a mechanism for your application to take action on events that occur in the ARViewController.

To get more information about ARDelegate or ARHandlerProtocol take a look on special ARDelegate article or special ARHandlerProtocol article.

Note: You can create multiple instances of ARViewController or its subclasses, but you can 't show them simultaneously. And keep in mind that each instance of ARViewController or its subclass uses the same view for rendering. Be careful with the view states.

Was this article helpful?
1 out of 1 found this helpful



Please sign in to leave a comment.