gpt4 book ai didi

ios - 如何创建评级点

转载 作者:行者123 更新时间:2023-11-28 21:46:51 26 4
gpt4 key购买 nike

我想实现这样的目标:

enter image description here

总共应该有 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];

最佳答案

A quick search on GitHub with rating ios as query给我这个:

Tips: when browsing GitHub, type one or two words max. describing what you need, followed by the official StackOverflow tag (eg. ios,java, etc).

关于ios - 如何创建评级点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29819655/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com