Customizing Section indexes in UITableView in iphone application

前端 未结 5 1611
忘掉有多难
忘掉有多难 2020-12-03 17:56
  • Does any one have tried to customize default section index displayed in UITableView.
  • I want to modify the appearance of UITableView SectionIndex.
  • Is
5条回答
  •  眼角桃花
    2020-12-03 18:37

    It doesn't look like standard index view is customizable.

    In my application I just created custom index view instead of standard one. Basically all you need to do here is track touch position in that view and scroll UITableView accordingly. You may also need to add some visual effects - change view's background color on touch and highlight current section title.

提交回复
热议问题