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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:35:30+00:00 2026-05-12T16:35:30+00:00

My app has a set of categories. A category can have sub-categories. DirectoryCategoryController is

  • 0

My app has a set of categories. A category can have sub-categories.

DirectoryCategoryController is the first screen, displaying all the top-level categories. Works great. When you tap a cell, if the category selected has sub-categories, I instantiate a new instance of DirectoryCategoryController and push it to display the sub-categories. From there, you tap a sub-category and see the contents.

The problem is that while the top level works fine, when I tap in and see the sub-categories, the table view won’t scroll. The search bar takes touches, the table cells take touches but up and down scrolling does not work, like the table view is vertically frozen in space.

If I tap the search bar and hit cancel or if I go into a sub-categories contents and then hit back, the very same table view that didn’t scroll works just fine.

Also, if the table view has more items than fit on the screen (about anything bigger than 8 in this layout), everything works.

Very odd problem ; kinda blowing my mind. Any insight?

  • 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-12T16:35:30+00:00Added an answer on May 12, 2026 at 4:35 pm

    So, I figured this out and thought I would answer as a reference.

    At this point, I think it may be an iPhone OS bug and I’m filing a RADAR.

    A UIScrollView, of which UITableView is a subclass, will not attempt to scroll if everything fits on one screen.

    In my case, it appears the scroll view thought everything fit (it was very close) but it didn’t. Actually, if you removed the UISearchBar from the UITableView, everything would have fit and it wouldn’t need to scroll. My guess is that it’s incorrectly determining the geometry when the UISearchBar is attached.

    Anyway, the work-around was to add this:
    [self.tableView setAlwaysBounceVertical:YES];

    The odd thing was that when another view was pushed and then popped, the vertical bounce worked fine, furthering my suspicions it’s an iPhone bug.

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

Sidebar

Related Questions

I have set up a UITableView-based app, which has a .plist for holding the
I have a windows service that has it's name set by an app.config. I
My app has many views and their respective controllers. Now I have a set
My app has the ability to set reminders and all that works fine. The
My app has a welcome screen that can only be shown in portrait mode.
I have my app set up as follows: -Generated scaffolds for Categories and Products.
I'm trying to create an app that has a set of images on screen.
So my app has the status bar set to be hidden like this in
I'm writing a diagnostic app which needs to log what the user has set
I am trying to create an android app that has the following: Theme set

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.