search

Home  >  Q&A  >  body text

objective-c - 在iOS上做这样的时间轴界面应该怎么实现?征集一下思路


如图,如果在iOS上实现这个UI得怎么个思路才可以实现。


这个东西已经困惑我有一段时间了,我有想过用现成的UI,但也实现不出这个效果。
也试过使用CGMutablePathRef来画,但一卡一卡的,效果十分不理想。在这儿请教各位大大,征集一下思路。

高洛峰高洛峰2887 days ago313

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 17:49:12

    Divide it into multiple similar ones从04:00到05:00的AView, use white Bview directly for recording, write the constraints of Bview relative to AView, when the width of AView changes, BView will also change accordingly, and the cursor will directly use pictures.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:49:12

    Time is of equal width and can be implemented directly using collectionview.

    reply
    0
  • Cancelreply