Clear content of UIScrollView

前端 未结 6 463
盖世英雄少女心
盖世英雄少女心 2021-01-04 04:24

I have an iPhone application that uses a timer and at every time interval it creates some UILabel controls and adds them into a UIScrollView.

6条回答
  •  醉话见心
    2021-01-04 04:52

    Its Very simple just write this code inside your loop where dynamic structure is creating and changing it's content frequently.

    [subview removeFromSuperview];
    

提交回复
热议问题