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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:21:16+00:00 2026-05-29T15:21:16+00:00

I have an iPad application in which I am displaying an input form as

  • 0

I have an iPad application in which I am displaying an input form as a UIWebView in a UIPopoverController. My popover controller is sized such that it does not have to be resized when the keyboard appears.

When I tap in an input field in the UIWebView, the web view is pushed further up when the keyboard appears. It is pushed up to the point that the text field is at the top of the frame. (This is the standard behavior you see when using forms in mobile safari).

The webview does not scroll at all before the keyboard is up, but once it is, (as seen in the second image) I can scroll the webview back down to the correct position.

Because my webview is already sized correctly, I do not want this behavior. Does anyone have any suggestions on how to prevent this? (Not using a web view here is currently not an option)

Thanks!

View without keyboard
View with keyboard

  • 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-29T15:21:17+00:00Added an answer on May 29, 2026 at 3:21 pm
    1. Add UIKeyboardWillShowNotification to NSNotificationCenter in viewDidLoad

      [[NSNotificationCenter defaultCenter] addObserver:self 
          selector:@selector(keyboardWillShow:) 
          name:UIKeyboardWillShowNotification object:nil];
      
    2. Implement keyboardWillShow: and readjustWebviewScroller methods

      - (void)keyboardWillShow:(NSNotification *)aNotification {
          [self performSelector:@selector(readjustWebviewScroller) withObject:nil afterDelay:0];
      }
      
      
      - (void)readjustWebviewScroller {
          _webView.scrollView.bounds = _webView.bounds;
      }
      

    This does work for me.

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

Sidebar

Related Questions

I have an iPad application which has a sign up form within it. The
The Problem I have a UIWebView inside my iPad application which I need to
I have an iPad application that pulls in all of its data from an
I have an iPad application which requires me to stream a video to a
I have implemented ipad application in which i want parse table of content but
I have written a tab based iPad application which has done well. I never
I created an iPad application in which I would like to have my searchBar
I am a developing an iPad application in which i have to use CTRunDelegate
I have an nascent iPad application, which stores documents internally on the device in
I'm writing iPhone/iPad application. I have UITextView in which I automatically appending text. How

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.