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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:03:57+00:00 2026-05-26T23:03:57+00:00

I have implemented some code that will automatically set a UIScrollView’s ContentOffset when the

  • 0

I have implemented some code that will automatically set a UIScrollView’s ContentOffset when the keyboard is displayed and will cover the currently active control.

For example, if the user taps a UITextView at the bottom of the form, the UIScrollView will be scrolled up so that the entire control is visible.

This all works nicely until the user taps into another UITextView. At this point, the UIScrollView feels that it is necessary to scroll back to the top of the view, which is exceedingly annoying.

I tried what I though was an obvious answer: ShouldScrollToTop. However, that is a somewhat misleading name because it only applies when the the user taps the status bar.

If I set ScrollEnabled to false after the keyboard is displayed, the user can’t scroll through the form, which makes it very difficult to work with the form.

I have also tried setting the ContentSize to include both the form size and the keyboard, but that didn’t do anything.

All I want to do is prevent the scroll view from automatically scrolling back to the top when another field is tapped. It really should not be this difficult Apple.

  • 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-26T23:03:57+00:00Added an answer on May 26, 2026 at 11:03 pm

    Of course, right after I posted the question, I scoured the scroll view properties in Interface Builder and started turning off everything that I didn’t think was absolutely necessary.

    As soon as I turned off Paging Enabled, the scroll view stopped automatically scrolling to the top.

    I decided to answer this and leave the question in case someone else runs into the same problem because I couldn’t find any solutions anywhere else.

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

Sidebar

Related Questions

I've been trying to implement unit testing and currently have some code that does
I have some code that uses the shared gateway pattern to implement an inversion
I have some .NET remoting code where a factory method, implemented in some server
I'm currently implementing some code that should, for each method of a class, run
I have already implemented some AJAX pagination in my Rails app by using the
What are some of the ways you have implemented models in the Zend Framework?
I have implemented a simple linux shell in c. Now, I am adding some
I have some REST web services implemented in WCF. I wish to make these
I have found that I often have to implement some sort of a scheduler
I often have to implement some interfaces such as IEnumerable<T> in my code. Each

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.