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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:43:12+00:00 2026-05-27T08:43:12+00:00

How do you programmatically show this message using three20’s TTTableHeaderDragRefreshView? (Though this example is

  • 0

enter image description here

How do you programmatically show this message using three20’s TTTableHeaderDragRefreshView? (Though this example is not from three20)

Can I control the scrolling to scroll to the top with a little negative y value, just to show that message: “Pull Down to Update/Refresh?”

  • 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-27T08:43:12+00:00Added an answer on May 27, 2026 at 8:43 am

    Yes, you will have to change the content offset of the table manually and call the table’s reload function. this will create the same effect the user sees when he tries to update the content by scrolling to the top of the table:

    ///////////////////////////////////////////////////////////////////////////////////////////////////
    - (void)reload {
      if ([self.tableView.delegate isKindOfClass:[TTTableViewDragRefreshDelegate class]]) {
        [UIView beginAnimations:nil context:NULL];
        [UIView setAnimationDuration:ttkDefaultFastTransitionDuration];
        self.tableView.contentOffset = CGPointMake(0, -60.0f);
        [UIView commitAnimations];
      }
    
      [super reload];
    }
    

    and then, just add a button to use this reload function:

    self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(reload)] autorelease];
    

    You might need also to invalidate your datasource, to force the update, because if the data is stored in the cache, the drag to refresh will appear and hide immediately.

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

Sidebar

Related Questions

How can I open the DateTimePicker C# control programmatically? I want to show the
How can I programatically cause a control's tooltip to show in a Winforms app
I am creating menus in WPF programatically using vb.net. Can someone show me how
I am using a TabControl to programmatically show or hide groups of form controls.
I need to programmatically trigger the change event. This I can usually do, but
Is it possible to enable the show redraw regions programmatically? From AS3 code, I
How to remove validation programmatically from flex component This is my method public static
I’m trying to add a UIImageView programmatically using this code, as I always do:
I can't figure out how to programmatically select items in checkboxlist. This method of
I'm trying to make a blog entry programmatically using this code. $node->title = $_POST['title'];

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.