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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:20:30+00:00 2026-05-19T00:20:30+00:00

I am experiencing a weird scrolling issue and I was hoping someone could give

  • 0

I am experiencing a weird scrolling issue and I was hoping someone could give me a hand in trying to identify why this is happening.

I have included the part of my code that I think is relevant to the question but am happy to update this post with whatever else is needed.

I have implemented a pull to refresh view in the tableview’s content inset area. The refresh fires an Async NSURLConnection that pulls data from a webserver, parses the relevant information and refreshes the table as required.

This is where the refresh process kicks off:

- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{

    if (scrollView.contentOffset.y <= - 65.0f && !self.reloading) {
        self.reloading = YES;
        [self reloadTableViewDataSource];
        [refreshHeaderView setState:EGOOPullRefreshLoading];
        [UIView beginAnimations:nil context:NULL];
        [UIView setAnimationDuration:0.2];
        self.tableView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);
        [UIView commitAnimations];
    }
}

Problem is if I start to scroll whilst the content inset is “visible” (i.e. during reload) I get this weird behaviour where my table sections do not scroll all the way to the top – see screenshot for a clear visual of what I am trying to describe here.

I have included a couple of screenshots below that clearly identify what is happening at the moment.

Has anyone experienced this before? Any ideas on what I should be looking at to try and fix it?

Many thanks in advance,
Rog

alt text

And this is the result if I start scrolling the table. The orange bit at the top of the image is the actual navigation bar, where I would expect the table section (date 1 December 2010) to be.

alt text

  • 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-19T00:20:30+00:00Added an answer on May 19, 2026 at 12:20 am

    Isn’t this expected behavior? You set the contentInset of the tableView, which is the same as the scrollView in this example and thus the tableView insets its content by your given margin. The distance between the bottom of your tab-view and the section header is 60px (120px in your retina screenshot), so this matches exactly the contentInset.top value.

    I assume you reset contentInset to 0.f after the refresh; does your wrong behavior disappear once your refresh is done?

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

Sidebar

Related Questions

I am experiencing a weird issue with createlink. I have this in my gsp
I'm experiencing a weird issue in which I need to have a default constructor
I am trying to debug a weird issue I am experiencing with a MVC2
I'm experiencing a weird problem with C today. Have a quick look at this
I'm experiencing a weird issue here. I have a Javascript code which scrolls my
I'm experiencing some really weird object behaviours at the moment. I have this template
I am experiencing a weird issue with PUT and POST ajax CORS requests in
I am experiencing a very weird problem: In WPF I have a tabControl which
I have experiencing a weird problem with the 'plot' function of the 'raster' package.
I'm experiencing a weird issue in Google-Chrome that when one tab is open with

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.