Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
分段进度条示例:
我不认为你可以用 a 来做到这一点,UIProgressBar但是创建你自己的具有value从 0 到 1 的 Float 属性并根据该值绘制一个彩色条的控件将是微不足道的。
UIProgressBar
value