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 7194107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:18:17+00:00 2026-05-28T20:18:17+00:00

Here a question for the pros… I’m developing an application on Ipad and i’m

  • 0

Here a question for the pros…
I’m developing an application on Ipad and i’m using a barcode reader with bluetooth. I have sync the barcode reader with my Ipad and I can catch the text on a textField without problems.
When I read a barcode I don’t want to put it on a textField, I want to catch it on a class, process it and decide what to do with it. I have searched on the internet the way to do it but I can’t find it. Someone can help me? Can I do a class the delegate to receive the input strings?

I’m a little lost with it and any help will be very usefull for me

Thanks for your time!!

  • 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-05-28T20:18:18+00:00Added an answer on May 28, 2026 at 8:18 pm

    I have solved the problem creating a hide textfield that become the first responder when the viewcontroller is created. After I have did the same viewController the delegate of this text field. When the BT codebar reader do a read he makes a return at the end so it calls the – (BOOL)textFieldShouldReturn: where I process the information. I hope that will be usefull for someone in the futur with the same problem. I post the code:

    _textSender = [[UITextField alloc] initWithFrame:CGRectMake(150, 300, 300, 25)];
    [_textSender setBackgroundColor:[UIColor whiteColor]];
    [self.view addSubview:_textSender];
    _textSender.hidden=YES;
    [_textSender becomeFirstResponder];
    _textSender.delegate=self;


    - (BOOL)textFieldShouldReturn:(UITextField *)textField{
    [messageSenderProtocolDelegate message:textField.text];
    return YES;
    }

    It’s not a beatiful way to do it and it gives me a little problem, when the BT barcode disconnects the keyboard appears and that’s not good for me. I want my view clean without keyboards all the time. Now I will research if it’s a function that is called when the keyboard shows to prevent him to be show

    If someone have any advice it will be usefull but say thanks for your help Erik!

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

Sidebar

Related Questions

first question here. I'm developing a program in C# (.NET 3.5) that displays files
C# question here.. I have a UTF-8 string that is being interpreted by a
The question raised from the question here . In order to have search engines
All right, so here's a challenge for all you SQL pros: I have a
This may be a ridiculous question for you C# pros but here I go.
So I've read over several questions here about the pros and cons of using
Simple question here: is there any way to convert from a jagged array to
Newbie question here. I'm in the beginning stages of laying out a site in
The question here is whether something like this already exists or, if not, whether
First question here: it is a very short yet fundamental thing in Java that

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.