1
中使用DYRateView。我希望使用DYRateView(在这里找到:https://github.com/dyang/DYRateView)给我的TableViewCells添加星级评分。我目前使用此代码内的cellForRowAtIndexPath:再次在UITableViewCell
DYRateView *rateView = [[DYRateView alloc] initWithFrame:CGRectMake(78, 49, 100, 14)];
rateView.rate = 4;
rateView.alignment = RateViewAlignmentRight;
[cell.contentView addSubview:rateView];
现在我已经做了所有像进口的头文件中的基本检查和添加的明星图像库中,但它只是拒绝工作!如果您能提供任何建议,我将不胜感激。
的问候,
迈克