MBOverlayViewController

Objective-C


@interface MBOverlayViewController : UIViewController

Swift

class MBOverlayViewController : UIViewController

Overlay View Controller is an abstract class for all overlay views placed on top View Controller.

It’s responsibility is to provide meaningful and useful interface for the user to interact with.

Typical actions which need to be allowed to the user are:

  • intuitive and meaniningful way to guide the user through scanning process. This is usually done by presenting a “viewfinder” in which the user need to place the scanned object
  • a way to cancel the scanining, typically with a “cancel” or “back” button
  • a way to power on and off the light (i.e. “torch”) button