gpt4 book ai didi

iphone - 选择 TableRow 和 SelectionColor 应该是可见的,然后自动消失

转载 作者:行者123 更新时间:2023-12-01 17:43:53 27 4
gpt4 key购买 nike

我正在尝试的 - 我有一个 UITableView .在选择任何特定行时,它应该显示一个 selectionColor(Blue 等),然后它应该消失。任何属性/代码可以做到这一点?我实际上是在 MyCalender View 中申请的。

最佳答案

您可以使用 [self.tableView deselectRowAtIndexPath:indexPath animated:YES];
在你的 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath方法。

关于iphone - 选择 TableRow 和 SelectionColor 应该是可见的,然后自动消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11684713/

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