标签:图片
NSString *starsPath = [[NSBundle mainBundle] pathForResource:@"star" ofType:@"png"];
UIImage *theImage = [[UIImage alloc] initWithContentsOfFile:starsPath];
theImage= [theImage imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
stars.tintColor = [UIColor orangeColor];
stars.image = theImage;
标签:图片
原文地址:http://10907795.blog.51cto.com/10897795/1865515