I could only find if one wants to display scroll bar or not using
tableView.showsVerticalScrollIndicator = YES/NO;
but how can I customize
You can set only style of scroll indicators:
The style of the scroll indicators.
@property(nonatomic) UIScrollViewIndicatorStyle indicatorStyle
Styles:
Scroll Indicator Style The style of the scroll indicators. You use these constants to set the value of the indicatorStyle style.
typedef enum {
UIScrollViewIndicatorStyleDefault,
UIScrollViewIndicatorStyleBlack,
UIScrollViewIndicatorStyleWhite
} UIScrollViewIndicatorStyle;
For example:
tableView.indicatorStyle = UIScrollViewIndicatorStyleBlack;
You can add this great open source custom scrollbar to your project, its totally customisable: https://github.com/BasheerSience/BRScrollBar