Is it possible to move the index of a UITableView?

I use a method sectionIndexTitlesForTableViewfor my custom UITableView to display AZ from the side of my table. However, the standard view of this does not match the style of the table. Is there a way to change this or at least move the index a bit?

Here's how it overlaps:

alt text

+3
source share
1 answer

I also tried the same thing ... but did not succeed. but as a workaround, we can enter spaces in front of the text that we want to display as the section title so that we can start indexing with some gap.

+1
source

Source: https://habr.com/ru/post/1772257/


All Articles