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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:08:08+00:00 2026-05-31T10:08:08+00:00

In an iPad application I’m developing, I want to show a UITableView that does

  • 0

In an iPad application I’m developing, I want to show a UITableView that does not scroll and does not bounce (meaning that attempting to scroll the tableview up or down does not show the scroll and snap-back effect). The reason I want to do this is that the UITableView contains a fixed number of cells, and divides the visible space equally among the number of cells (in tableView:heightForRowAtIndexPath:). There won’t be any need to scroll. UITableView and UIScrollView are implementation details of which the user does not need to be aware.

UIScrollView has a boolean bounces property which I could set to NO if I could access the UIScrollView instance.

I expect that the UITableViewController’s UITableView instance has a superview of UIScrollView. However, within my UITableViewController subclass, self.view.superview and self.tableView.superview are both nil. I have determined this within my UITableViewController’s -initWithStyle:, -viewDidLoad, and -viewWillAppear: methods.

Is there another way to access the UIScrollView that contains my UITableView? I’m imagining that this technique would involve the least code, although there is no direct accessor to the UIScrollView instance from UITableViewController or UITableView.

Or should I subclass UIViewController instead of UITableViewController, and instantiate a UITableView that is not enclosed in a UIScrollView? Or is there another option I’ve overlooked?

  • 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-31T10:08:09+00:00Added an answer on May 31, 2026 at 10:08 am

    UITableView is a subclass of UIScrollView, so UITableView has bounces properties (all properties that UIScrollView has).
    So to cancel bounces you need to write self.tableView.bounces = NO;. To cancel scroll, self.tableView.scrollEnabled = NO;
    And of course you can set this properties using Interface Builder.

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

Sidebar

Related Questions

I'm developing a iPad application that will consume a WCF Service HTTPS (using soap
I am developing an iPad application where in there is a requirement that application
I'm developing an IPad application that use a prefeatched database with a synchronisation feature
I have an iPad application with UITableView, and I want to enable a user
I am developing an iPad application in which I need a table view (
I have an iPad application that pulls in all of its data from an
I made iPad application in which, I want to insert record into database table,
I am developing an iPad application using sdk 5 and storyboard from an already
I am developing an iPad application, and I am trying to figure out the
I am developing an iPad application which is basically a big drawing canvas 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.