Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8723309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:36:00+00:00 2026-06-13T07:36:00+00:00

I am trying to write the embedded reader example in ZBar SDK using a

  • 0

I am trying to write the embedded reader example in ZBar SDK using a story board and not NIB files. I Declare my IBOutlets as so:

@interface MYQViewController : UIViewController < ZBarReaderViewDelegate >
{
    ZBarReaderView *readerView;
    UITextView *resultText;
}
@property (strong, nonatomic) IBOutlet ZBarReaderView *readerView;
@property (strong, nonatomic) IBOutlet UITextView *resultText;
@end

However when I create a ZBarReaderView View Controller on the main UIView and try click and drag to connect readerView as a referencing outlet, I just can’t figure out how to connect it. All I get from the primary ViewController is an option to select view.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:36:01+00:00Added an answer on June 13, 2026 at 7:36 am

    Add a UIViewController to your Storyboard.

    Add a UIView to the UIViewController, now you will have a UINavigationController > UIView > UIView. Give the child UIView the size you expect the reader area to be.

    Create a class of type UINavigationController and add the following code to the interface.

    @property (nonatomic, strong) ZBarReaderView* readerView;
    @property (nonatomic, strong) IBOutlet UIView* skeletonView;
    

    Add the following code to the implementation.

    @synthesize skeletonView;
    @synthesize readerView;
    
    - (void)viewDidLoad {
    
        self.readerView = [ZBarReaderView new];
        self.readerView.readerDelegate = self;
        self.readerView.zoom = 1;
    
        self.readerView.frame = CGRectMake(0, 0, self.skeletonView.frame.size.width, self.skeletonView.frame.size.height);
        [self.skeletonView addSubview:readerView];
        [self.skeletonView sendSubviewToBack:readerView];
        [self.readerView start];
    
    }
    

    Set the UINavigationController class to the class that you have created.

    Connect the child UIView to the UIView IBOutlet.

    You are read to go and by doing that you don’t need to hack anything and you can customize the child view with buttons and messages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write an embedded ( NOT web, not enterprise ) content management
I'm trying to write a VBA script that finds all embedded (.docx) files within
I'm trying to write C# code with an embedded IronPython script. Then want to
I'm trying to write a full screen application for Windows CE 5.0. I'm using
I'm trying to write a query for an embedded Mongoid::Document which finds any record
I am trying to write a script so that when I play an embedded
I'm trying to write a QScreen driver for Qt for Embedded Linux to be
I want to write actor style code for embedded processors and I am trying
I find it much easier to write MXML classes with embedded Script than trying
I'm trying to create an object with embedded attributes for testing. This example uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.