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

  • Home
  • SEARCH
  • 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 7763023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:33:37+00:00 2026-06-01T14:33:37+00:00

In view A, I have a text field. I tap a control to push

  • 0

In view A, I have a text field. I tap a control to push in a new view controller B. View B only has a text view whose frame should be adjusted to accommodate the keyboard, and I always set the text view to be the first responder and the keyboard should show immediately when view B is pushed in.

I do the usual keyboard notification handling in view controller B. So if the keyboard is not shown before view B is pushed, there is no problem. However, if the text field in view A is the first responder and the keyboard is already shown when I push in view controller B, I won’t receive UIKeyboardWillShowNotification/UIKeyboardDidShowNotification. Any suggestion to handle this situation?

  • 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-01T14:33:39+00:00Added an answer on June 1, 2026 at 2:33 pm

    To resign first responder then become first responder again is not a good solution that I dropped immediately the first time I thought about it. Forcing the keyboard to hide and show up again immediately when the keyboard is already there is just not the right thing to do — it is a waste and breaks the smooth transition.

    Sending keyboard status from view A to view B by breaking the encapsulation of B is neither an acceptable thing to do in software engineering.

    So I believe it deserves a bug report and I did one — #11205521.

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

Sidebar

Related Questions

I have a text field entry in my view that I would like to
say I have a text field like the following in a view called 'search':
I have a text field cell in a table view, from which I need
I have text field which has an onTouchListener attached to it. When i touch
I have two text fields in my view. I did it using IB. My
I have a page with .Net grid view with about 12 text fields per
I have the following problem: I got a view with two text fields and
In my view i have Textfield.If i move that TextField it should open iphone
In my application,i have text view with long text. i need text wrapping like
In my app i have a text field where if i enter a word

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.