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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:40:43+00:00 2026-05-30T02:40:43+00:00

I found out, that UITableView modify contentSize property and I can’t set it by

  • 0

I found out, that UITableView modify contentSize property and I can’t set it by myself.

Stack Trace

This is my call stack. After this call contentSize is modified. I don’t want it, because of that I want to hide header, so I need to scroll view a little bit down, and to make it I set contentSize little higher than visible to be able to scroll down a bit.

Any ideas how to hide table header, and keep it hidden after insertion/deletion ? By hide I mean table header initially “hidden” but show up when you scroll to the top.

I’m using NSFetchedResultsController to fetch data with CoreData.

  • 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-30T02:40:44+00:00Added an answer on May 30, 2026 at 2:40 am

    Looks like contentSize is modified by iOS private code just after controllerDidChangeContent is called.

    Just for record. This is my solution (searchView is view that I want to hide):

    -(void)scrollViewDidScroll:(UIScrollView *)scrollView 
    {
        if (scrollView.contentSize.height <= scrollView.frame.size.height)
        {
            [scrollView setContentOffset:CGPointMake(0, self.searchView.frame.size.height)];        
            [scrollView setContentSize:CGSizeMake(scrollView.contentSize.width, tableView.frame.size.height + self.searchView.frame.size.height)];
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found out that you can use something like this to create a file:
I found out that I can use a different theme in an C# WPF
EDIT: I found out that I can get it to compile if I cast
Having found out that 3rd URL segments can be passed directly to the a
I found out that methods called by ajax actions in JSF 2.0 can return
Just found out that this site uses tables for layouts. Does anyone find this
i found out that i can open google maps with a linkt to a
I found out that this is the way to style all images on a
I found out that build time of C# solution with many projects gets much
I found out that HTML form supports only two enctype types. They are application/x-www-form-urlencoded

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.