Scrolling UILabel like a marquee in a subview

后端 未结 4 704
-上瘾入骨i
-上瘾入骨i 2020-12-17 05:47

I have a UILabel in the main view with text - \"Very Very long text\". The proper width to this would be 142, but i\'ve shortened it to 55.

Basical

4条回答
  •  Happy的楠姐
    2020-12-17 06:22

    This question is possibly Duplicate of.

    Although there is nice code snippet written by Charles Powell for MarqueeLabel,

    also take a look at This link.

    I hope this will help you and will save your time by giving a desired output.

提交回复
热议问题