UIScrollView cannot see ScrollBars/Indicators.

前端 未结 2 1360
遥遥无期
遥遥无期 2021-01-19 03:42

I programatically created a UISCrollView but i cant see the scrollbars/indicators.

UIScrollView * contentScrollView = [[UIScrollView alloc]initWithFrame:CGR         


        
2条回答
  •  有刺的猬
    2021-01-19 04:21

    contentScrollView.showsHorizontalScrollIndicator = YES;
    contentScrollView.showsVerticalScrollIndicator = YES;
    

提交回复
热议问题