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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:38:00+00:00 2026-05-26T05:38:00+00:00

Im creating a music based app. The playlist screen is a UITableView. It has

  • 0

Im creating a music based app. The playlist screen is a UITableView. It has 3 sections: Previous Tracks, Now Playing, Next Tracks.
They are in order as follows:

-- PREVIOUS TRACKS SECTION --
   Track Z
   Track Y
   Track X
-- NOW PLAYING SECTION --
   Track A
-- NEXT TRACKS --
   Track B
   Track C
   Track D

I always want the ‘Now Playing’ section to be scrolled to the top of the table view.
This is not a problem if:
A) There are no items in the Previous tracks section or
B) There are enough tracks in the Next Tracks section to pass beyond the bottom of the UITableView.

However, if there are, for example 10 tracks in the Previous Tracks section, one in the Currently Playing and 2 in the Next Track section, then when I tell the table view to scroll so the Now Playing section is at the top of the view, it just springs back so it is 3 items from the bottom of the view (the 2 ‘Next Track’ items plus the Currently Playing).

To put it another way, look at your iPod library or any TableView on the iPhone. What im trying to acheive is to scroll the last track in the list to the top of the screen and leave blank white space underneath.

Is there any way of telling the TableView not to spring back into place in this scenario?
I have tried playing a large height cell there, but its hacky and causes problems when re-arranging cells in the TableView.

Technically this is Monotouch, but im fine with Objective C, so whatever language is fine.

  • 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-26T05:38:01+00:00Added an answer on May 26, 2026 at 5:38 am

    Look at the contentInset property which the table view inherits. You will have to set the bottom inset just so that the bottom most cell is visible.

    Example:

    self.tableView.contentInset = UIEdgeInsetsMake(0, 0, self.tableView.frame.size.height - 88, 0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a simple music playing online app. I would like to make
Take a look at the Music.app (or iPod.app). The root Albums view has an
So in my new music app game I'm creating, I'm allowing the user to
I am creating a music web app that streams MP3s that I have stored
I'm creating an app on android in java, very simple, which has a button
I am creating a music application which has more than 12 songs made of
Creating liquid layouts is an immense pain. Now, I totally understand that tables should
i am creating a music application and i want to integrate facebook into my
i am creating a music application in iphone where i am integrating twitter in
I was trying out the method of creating a background music for a java

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.