cell右箭头

//自定义了cell 

//需要一个又侧箭头图片

UIImage *imageGray=[UIImage imageNamed:@"d"];

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);

self.accessoryView=accessoryViewGray;

你可能感兴趣的:(cell右箭头)