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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:38:49+00:00 2026-06-11T09:38:49+00:00

In my app I’m having some weird issues with UITableView . Basically my tableview

  • 0

In my app I’m having some weird issues with UITableView. Basically my tableview is made of two sections with 10 rows each. I can’t get it to show floating section headers with section titles (like “Music” app showing a section for each letter of the alphabet for example).
I populated the tableView with some all-the-same cells for testing it but the table view won’t show floating section headers, the only thing where I can see section titles (by the way “Anno 1” and “Anno 2” are the titles I need to show) is the bar on the right (is there anyway to hide this index bar?).

Can anybody help me in getting the tableview to show the section titles? Shouldn’t it show them automatically or is there any property I must set in order to get them?

  • 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-11T09:38:50+00:00Added an answer on June 11, 2026 at 9:38 am

    I just solved the problem! I was messing pretty badly with datasource methods.
    Basically the problem was that I thought that the method to set the section titles was:

    • (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView

    This methods instead refers to the right bar for fast scrolling! The right method to use for setting the titles of the sections is this one:

    • (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section

    here you return the title for the particular section passed as parameter.

    Moreover if you don’t override the first method I listed, the tableview won’t show the bar for fast scrolling which in situations like the one I’m dealing with may be useful.

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

Sidebar

Related Questions

App crashes after execution of cellForRowAtIndexPath method of tableView It goes into: UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:]
My app is saving some images on the SD Card, in the AppImages directory
My app uses the android.support.v4.view.ViewPager class. For each page in the ViewPager, I want
my app has a submit feedback form. Is there a way to can capture
My app basically lets me go in and copy an image to a clipboard.
App Store We have been developing an app for quite some time now for
My app uses LoadLibrary to load plugins at run-time and users can accidentally try
We're building an app, our first using Rails 3, and we're having to build
My app sends out reminder emails and in each of these emails I'd like
Our app (before authentication) has Customers and Widgets. As you'd expect each customer has

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.