如果cell.selectionStyle与UITableViewCellSelectionStyleNone不同,则会发生这种情况。
//FrameFiew
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
imageView = [[FXImageView alloc] initWithFrame:CGRectMake(10, 10, 50.0f, 50.0f)];
imageView.contentMode = UIViewContentModeScaleAspectFit;
imageView.asynchronous = YES;
imageView.cornerRadius = 5.0f;
imageView.tag = indexPath.row;
//cell.selectionStyle = UITableViewCellSelectionStyleNone;
...
}
答案 0 :(得分:0)
这是FXImageView框架上的一个错误,我只是改为UIImageView,现在它可以工作。