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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:57:27+00:00 2026-06-05T01:57:27+00:00

I have some iPad app where user will navigate using touch screen OR bluetooth

  • 0

I have some iPad app where user will navigate using touch screen OR bluetooth keyboard.
I have some hidden textView which is in focus (first responder) and here I detect what is entered from keyboard.

But, when I disconnect keyboard, I have a problem, virtual keyboard appears.

Can I check if bluetooth keyboard is connected or not, and to set or resign first responder in viewDidLoad or something?

or

I have notification:

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillAppear:) name:UIKeyboardWillShowNotification object:nil];

Can I hide keyboard on some way when keyboardWillAppear is triggered?
I tried [textView resignFirstResponder], but without success 😐

  • 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-05T01:57:29+00:00Added an answer on June 5, 2026 at 1:57 am

    You could set the inputView to a transparent view:

    UIView *emptyView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
    emptyView.backgroundColor = [UIColor clearColor];
    textView.inputView = emptyView;
    

    In theory that would set the onscreen keyboard to an empty view so it wouldn’t be visible. If it doesn’t accept a view with no frame then try bumping the width and height to 1. It wouldn’t affect the external keyboard; it just wouldn’t show up on the device.

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

Sidebar

Related Questions

In my iPad app. I have one UITextField. User would enter some value in
I have this iPad app using Storyboard. There are some file that are marked
I have an ipad app, that as user does some actions, uitextfields and buttons,
I'm developing a full-screen web app for an iPad that will have a series
I have been working on an iPad app. My app contains some PDF and
I have the need for some time based effects in the iPad app I
I'm designing an iPad app that will have a custom grid in it. The
I have a UIViewController for an iPad app where the user can pick one
I have a requirement in my app which requires me to display some message
I have some weird behavior on the iPad that I am not getting on

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.