UIScrollView custom scroll color?

How to change the default color of a scrollbar of a UIScrollView in Xcode?

+5
source share
1 answer

You do not say, but since you are using UIKit, I assume that you will be developing for iOS.

scrollView1.indicatorStyle = UIScrollViewIndicatorStyleWhite;

Replace UIScrollViewIndicatorStyleWhitewith something from this typedef .

+15
source

All Articles