Wednesday, July 1, 2026
HomeiOS Developmentgoal c - When the iOS machine is linked to the Bluetooth...

goal c – When the iOS machine is linked to the Bluetooth scanner, the Apple Magic Keyboard can’t enter usually

[ad_1]

The Bluetooth scanner is utilized in my iPad App. When utilizing the app, the person used the scanner and in addition Apple Magic Keyboard in my App.

The scanner is equal to an exterior keyboard, and the Apple Magic Keyboard can also be an exterior keyboard.

Moreover, I exploit textView to obtain the enter content material.

- (void)textViewDidChange:(UITextView *)textView 
{
    [NSObject cancelPreviousPerformRequestsWithTarget:self];
    [self performSelector:@selector(receivedBarcode:) withObject:textView.text afterDelay:0.25];
}

My questions:

  1. It’s not doable to make use of the Apple Magic Keyboard usually for enter as a result of, every time the keyboard is clicked, the delegate technique of the textView will probably be executed.

  2. How ought to I do know if the enter got here from the Scanner or if the person entered it utilizing the Apple Magic Keyboard?

  3. Can I exploit a scanner and an Apple Magic Keyboard on my iPad on the similar time? Is there any approach to keep away from the battle between the 2 enter fashions?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments