You can use our samples to get a good overview of how to show the barcode scanner in an app: Run the samples.
The scan view itself (BarcodePicker) is a UIViewController and therefore contains a normal view in iOS. You can add it to the view hierarchy like any other view and add further views on top of the overlay view or the picker itself.
The Scan User Interface can be presented in various ways. For alternative ways of presenting the scanner (e.g., with a UINavigationController, a UITabViewController, as a subview or in landscape mode).
Displaying the scan view modally
License.SetAppKey("yourAppKey");
BarcodePicker picker = new BarcodePicker (ScanSettings.DefaultSettings ());
picker.OverlayView.ShowToolBar (true);
scanDelegate = new PickerScanDelegate(this);
picker.ScanDelegate = scanDelegate;
cancelDelegate = new OverlayCancelDelegate(this);
picker.OverlayView.CancelDelegate = cancelDelegate;
PresentViewController (picker, true, null);
picker.StartScanning ();
Displaying the scan view in a UINavigationController
License.SetAppKey("yourAppKey");
BarcodePicker picker = new BarcodePicker (ScanSettings.DefaultSettings ());
scanDelegate = new PickerScanDelegate(this);
picker.ScanDelegate = scanDelegate;
navigationController.PushViewController (picker, true);
picker.StartScanning ();
Adding the scan view to a UITabViewController
License.SetAppKey("yourAppKey");
BarcodePicker picker = new BarcodePicker (ScanSettings.DefaultSettings ());
scanDelegate = new PickerScanDelegate(this);
picker.ScanDelegate = scanDelegate;
picker.TabBarItem = new UITabBarItem("Scan", UIImage.FromFile ("icon_barcode.png"), 3);
UIViewController[] tabControllers = this.TabBarController.ViewControllers;
UIViewController[] newTabControllers = new UIViewController[tabControllers.Length + 1];
for (int i = 0; i < tabControllers.Length; i++) {
newTabControllers [i] = tabControllers [i];
}
newTabControllers[newTabControllers.Length - 1] = picker;
TabBarController.ViewControllers = newTabControllers;
TabBarController.SelectedIndex = newTabControllers.Length - 1;
picker.StartScanning ();
Adding the scan view as a subview
License.SetAppKey("yourAppKey");
BarcodePicker picker = new BarcodePicker (ScanSettings.DefaultSettings ());
scanDelegate = new PickerScanDelegate(this);
picker.ScanDelegate = scanDelegate;
AddChildViewController (picker);
View.AddSubview (picker.View);
picker.DidMoveToParentViewController (this);
picker.View.TranslatesAutoresizingMaskIntoConstraints = false;
NSDictionary views = NSDictionary.FromObjectsAndKeys (
new object[] { picker.View, TopLayoutGuide },
new object[] { "pickerView", "topGuide" });
View.AddConstraints (NSLayoutConstraint.FromVisualFormat ("V:|[topGuide][pickerView(300)]", 0, null, views));
View.AddConstraints (NSLayoutConstraint.FromVisualFormat ("H:|[pickerView]|", 0, null, views));
picker.StartScanning ();