gpt4 book ai didi

ios - 我们可以通过编程方式更改 sectionindextitlesfortableview(A 到 Z Alphabet) 的 y 位置吗?

转载 作者:搜寻专家 更新时间:2023-10-31 22:55:32 25 4
gpt4 key购买 nike

这里我在城市明智地显示事件列表,所以在 tableview 的右侧,A 到 Z 字母显示在 tableview 中,但我想更改 A 到 Z 字母的 y 位置(SectionIndexTitle)。我使用了以下 2 个 UITableview 委托(delegate)方法.

1) sectionIndexTitles2) sectionForSectionIndexTitle

在 iPhone 中可以吗?有没有人做过类似的或者有什么建议请提出。

谢谢

最佳答案

如果您使用“titleForSection”方法,则不可能。如果您想自定义框架和其他属性,您可以选择“viewForHeaderInSection”。

关于ios - 我们可以通过编程方式更改 sectionindextitlesfortableview(A 到 Z Alphabet) 的 y 位置吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48761738/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com