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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:56:32+00:00 2026-06-10T08:56:32+00:00

I am trying to achieve a newsstand like effect with a scrolling and repeating

  • 0

I am trying to achieve a newsstand like effect with a scrolling and repeating background. I could do this using a UITableView if I could set it’s content size (An inherited method that seems to be overridden by something else in the UITableView Code) in order to fill the view with unscrollable cells.

Currently I am planning to make a custom uiscrollview. Which will be more complex and won’t have the cell reuse.

So, is there a way to set a UITableView’s content size.

  • 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-06-10T08:56:33+00:00Added an answer on June 10, 2026 at 8:56 am

    You could semi-hack a ‘contentSize’ kind of control over a UITableView by simply setting the number of cells that you have (let’s assume you have a 1 section table view and aren’t using a ‘grouped’ styled table) to:

    your desired height contentSize height / height for each cell (default is 44)

    Now, your problem is that if you only have, say, three rows’ worth of data to display, what to do with the rest of the cells? Well, simply set their backgroundColor to the same as the table’s background color and their selectionStyle property to UITableViewCellSelectionStyleNone. Wham, now you have invisible cells, and can set the ‘contentSize’ of the table.

    Note that your contentSize will only have a resolution of the height of your cells, if you leave the cell heights at their default 44, then you can only set the contentSize to a multiple of 44.

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

Sidebar

Related Questions

Trying to achieve something like this using recursion: if (m > n) return; Foo
I am trying to achieve this effect with jQuery UI - very much like
I am trying to achieve something like this. The Expandable List consists of the
Im trying to achieve an output like this {status:ok,0:{id:11,title:digg,url:http://www.digg.com}} but instead i am getting
im trying to achieve the following, in php i have a form like this:
I'm trying to achieve the following goal: Using this general singleton class: abstract class
I´m trying to achieve a grouped styled UITableView like the Contact apps detailedView. I
I'm trying to achieve something like this by dynamically specifying the fields: my_model.objects.values('id', 'name')
I am trying to achieve this glowing effect for a UILabel as shown below
Im trying to achieve an inner-shadow effect on a simple box, something like: alt

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.