我和CustomCells有个UITableView。这是一个收藏列表,每个CustomCell中都有星图。因此,如果我再次单击亮起的星星,它们将会消失,并从名为fav.plist的属性列表中删除。下面是我的CustomCell.m代码中收藏列表的一部分(列表的UITableView是favView,plist是fav.plist): //Here I try to reload
我在tableView中使用一个按钮,当按下这个按钮时,就会得到indexPath.row。但是,只有在没有scroll的情况下才能在屏幕上显示单元格时才能正常工作。- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPathscrolling the other ones are printed
NSLog(@"Check: %li", (long)index