我想实现这样的目标:
总共应该有 5 个点,但黑色的点可以是可变的。是否有任何 Github 项目或类似的项目?我尝试使用 UIProgressbar 的子类,但效果并不好!
cell.ratingDot.numberOfPages = 5;
cell.ratingDot.alignment = GTControlAlignmentLeft;
cell.ratingDot.pageIndicatorTintColor = [UIColor whiteColor];
//Its not possible as you can see to set more than one dot to the ratingDot value
cell.ratingDot.currentPageIndicatorTintColor = [UIColor blackColor];