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 toARHandlerProtocol
to control Bear scanner features;delegate
- Use your ownARDelegate
implementation. Delegate provides a mechanism for your application to take action on events that occur in theARViewController
.
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 ofARViewController
or its subclass uses the same view for rendering. Be careful with the view states.
Comments
Please sign in to leave a comment.