didSelectRowAtIndexPath在iOS7上调整图像视图的大小

didSelectRowAtIndexPath在iOS7上调整图像视图的大小,ios7,uitableview,Ios7,Uitableview,如果cell.selectionStyle与UITableViewCellSelectionStyleNone不同,则会发生这种情况 //FrameFiew - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { ... imageView = [[FXImageView alloc]

如果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;
    ...
    }

这是FXImageView框架上的一个错误,我刚刚更改为UIImageView,现在它可以工作了。

您的表视图单元格有多高?至少50像素?正确。IOS 7.1对UIImageView进行了一些内部更改,打破了我处理图像裁剪的方式。新版本创建了它自己的支持层,所以应该能够抵抗进一步的更改。我使用的是版本1.3.3,所以它会在未来的版本中吗?thxNo,修复包含在1.3.3中。我认为这个问题是无关的,所以请再检查一遍。ThxI无法重现该问题。如果你有一个可以复制bug的项目,你能在github页面上打开一个问题吗?谢谢