【发布时间】:2019-03-29 05:15:05
【问题描述】:
如何在tableView中获取所选sectionIndexTitle的点(CGPoint)?我没有找到任何方法来实现这一点。
- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index {
//How to get the point of the selected sectionIndexTitle
return index;
}
有没有办法获取选中的sectionIndexTitle 对象?所以我可以访问它的框架并改变它的颜色。
【问题讨论】:
-
get point 表示 CGPoint 或 else
-
@Anbu.Karthik 是的,point就是CGPoint,我已经编辑了描述;
-
我不确定,在这里我们可以。得到
标签: ios objective-c uitableview