修改IOS UITableViewCell箭头颜色方法

 UIImage *imageGray=[UIImage imageNamed:@"accessoryGray"];
    UIImageView* accessoryViewGray=[[UIImageView alloc] initWithImage:imageGray];
    CGFloat imageHeight=7;
    accessoryViewGray.frame=CGRectMake(0, 0, imageHeight, imageHeight*imageGray.size.height/imageGray.size.width);
    UIImage *imageBlue=[UIImage imageNamed:@"accessoryBlue"];
    UIImageView* accessoryViewBlue=[[UIImageView alloc] initWithImage:imageBlue];
    accessoryViewBlue.frame=CGRectMake(0, 0, imageHeight, imageHeight*imageBlue.size.height/imageBlue.size.width);
    cell.accessoryView=accessoryViewGray;





你可能感兴趣的:(修改IOS UITableViewCell箭头颜色方法)