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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:06:30+00:00 2026-05-18T01:06:30+00:00

Stackoverflow seems to be one of the most authoritative and easy to use technical

  • 0

Stackoverflow seems to be one of the most authoritative and easy to use technical forums on the internet so I figured that this would be the best place to start. I have done considerable research on this particular issue and so far I have not found a definitive answer and was hoping that someone here would have a solution or at least an answer as to why this is not working. This is for iPhone SDK 4.1 with xcode 3.2.4.

I have a grouped table view containing 2 sections with 3 rows in each section. By design the entire table view is visible when not being obscured. When a user touches any of the cells a picker view is displayed and as selections are made on the picker they are reflected in the selected table view cell. This picker view obscures the bottom three cells so I would like to have the bottom cells slide up and be visible but when using the following code nothing happens:

NSIndexPath* ip = [NSIndexPath indexPathForRow:0 inSection:1];

[tableView scrollToRowAtIndexPath:ip
    atScrollPosition:UITableViewScrollPositionTop animated:NO];

There are no compiler errors or warnings and I have verified that it is getting executed and that scrolling is enabled on the table view. As would be expected when unobscured the table view does not scroll but bounces since all of the cells are already visible. I’ve thought of a couple of workarounds neither of which are very appealing. One would be to create two separate table views but this would involve a considerable amount of work since I have proceeded with further development predicated on being able to get the bottom section to scroll. The other possible solution is to have the frame set to display the picker on the top when selecting from the bottom section and vice versa when selected from the top. I do not like this solution much for aesthetic reasons. I am hoping that someone has a solution or at least an explanation for why this is not working as expected.

Many thanks,
Tom

When the table is unobscured by the picker view

  • 1 1 Answer
  • 1 View
  • 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-18T01:06:30+00:00Added an answer on May 18, 2026 at 1:06 am

    Right, the tableview will not scroll beyond the cells it contains. Just resize the tableview when the picker view is presented so that they don’t overlap.

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

Sidebar

Related Questions

This may seems the most dumbest question ever on stackoverflow but I am just
From another stackoverflow question, it seems that Android handles large bitmaps differently than other
I see another question on stackoverflow.com whose title seems similar but that doesnot fulfil
I originally asked this question on programmers.stackexchange.com, because I figured the answers would be
Disclaimer: I did check other questions that seemed related, but this one is much
StackOverflow uses the GZip encoding on all of their pages; the same seems to
java.util.Date , java.util.Timetamp were seems to be causing great confusion for many. Within StackOverflow
This question may seem a little bit stackoverflow-implementation specific, but I have seen a
There seem to be many questions asked about this subject here on stackoverflow, but
It seems that I'll never get along with mod_rewrite... I'm in the typical scenario:

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.