I'm building an app that implements barcode scanning functionality using RSBarcodes. I have the camera layer configured (standard view controller with custom class) and it's working properly. However, I want to have a text box that allows the user to input a barcode manually. When I add a textbox in the storyboard, it does not show up during a test. How do I get it to appear over the camera layer, if this is even possible?
Try outlet your control to the view controller and in viewDidAppear:
bring it to front.
@property (nonatomic, weak) IBOutlet UIView *your_control;
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
[self.view bringSubviewToFront:your_control];
}