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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:58:15+00:00 2026-05-18T00:58:15+00:00

usually when tapping the top of the screen the tableview scrolls all the way

  • 0

usually when tapping the top of the screen the tableview scrolls all the way to the top. For some reason this doesn’t work in one of my view controllers.

The hirarchy is as follows:

UIView
-> WebView
-> TableView
—–>SearchBar
SearchDisplayController.

I think I have everything hooked up correctly (datasource, delegate, …). I have a similar view controller where everything works. The only difference seems to be WebView, which is missing in the view controller where the tap-and-scroll-to-top works…

Any ideas?

Best regards,
Sascha

  • 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-18T00:58:16+00:00Added an answer on May 18, 2026 at 12:58 am

    You need to disable scrollsToTop on all but one of the scrollable views. Since UITableView is a descendant of UIScrollView, it’s easy to do. However, if you want to disable it on the webview, it’s a little trickier. This seems to work:

    [webView.subviews objectAtIndex:0].scrollsToTop = NO;
    

    But that is a little iffy since it’s poking around in undocumented parts of the webview. It may stop working if Apple decides to rearrange the subviews.

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

Sidebar

Related Questions

Usually i am pretty good at working my way round as3 but this one
Usually when I build a site, I put all the CSS into one file,
Usually I would expect a String.contains() method, but there doesn't seem to be one.
Usually when I need to fork in C, I do something like this: pid_t
Usually when my regex patterns look like this: http://www.microsoft.com/ Then i have to escape
Usually, when an application writes to one of it's files on disk, the file
Usually when one wants to create a new file in the Eclipse IDE ,
Usually, I access a method in reflection like this: class Foo { public void
Usually I have client code similiar to something like this: // SomeOtherServiceClient would be
Usually I do all what I can inside a class, in every method (

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.