views:

16

answers:

1

I have a UIScrollView which I am applying a black background, which blends in the scrollbar. I have been looking for a way to change the scrollbars color to white, but I cannot figure it out. Is there a proper way of doing this?

+1  A: 

You can use "indicatorStyle" property:

[scrollView1 setBackgroundColor:[UIColor blackColor]];
scrollView1.indicatorStyle = UIScrollViewIndicatorStyleWhite;
mav