Set space between indexes of UITableView
I am kind off struck in impleme开发者_开发问答ntation of indexed UITableView. The content display size of tableview in my application is of dimensions 320X250. I am successfully able to display the indexes in tableview as display area is small so half of indexes are displayed by default as "dot symbol".
Any suggestion regarding this would be really helpful.
Cheers!!!
For that,
You have to take UILabel inside the "cellForRowAtIndexPath" method. And assign the label x, y position and width & height. So, it will be display properly.
Let me know if you want source code for that.
That is the default behavior of iOS. It automatically truncates the indexes when they are too many to display.
精彩评论