通过路径获取图片及改变图片颜色
NSString *starsPath = [[NSBundle mainBundle] pathForResource:@"star" ofType:@"png"];
UIImage *theImage = [[UIImage alloc] initWithContentsOfFile:starsPath];
theImage= [theImage p_w_picpathWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
stars.tintColor = [UIColor orangeColor];
stars.p_w_picpath= theImage;
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。