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 hide the original scroll bar and scroll using your custom scroll bar.
– (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated
can be used to scroll content, just add your custom bar to the table.