Reputation: 87
How do I change the default color of the UIScrollView scrollbar in XCode?
Upvotes: 5
Views: 4982
Reputation: 44699
You don't say, but since you're using UIKit, I assume you'd be developing for iOS.
scrollView1.indicatorStyle = UIScrollViewIndicatorStyleWhite;
Replace UIScrollViewIndicatorStyleWhite
to anything from this typedef.
Upvotes: 14