Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6754921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:20:18+00:00 2026-05-26T13:20:18+00:00

I could only find if one wants to display scroll bar or not using

  • 0

I could only find if one wants to display scroll bar or not using

tableView.showsVerticalScrollIndicator = YES/NO;

but how can I customize the scroll bar for colour, width and if possible other features?

Any help will be greatly appreciated.

EDIT:

I got this idea from code snippets where one must find Google logo in MKMapKit and relocate it somewhere so that it remains visible.
by following method one can set custom image to scroll bar of UItbaleview. But I found nothing on changing size of scroll bar.

-(void) ViewDidLoad
{
UIImageView *testView = [self.tableView.subviews objectAtIndex:1];
    UIImage *Img = [UIImage imageNamed:@"image.png"];
    [testView setImage:Img];
}

EDIT:
As suggested by Nekto you can use following to change width.

CGRect frame = testView.frame; 
frame.size.width = 10; //set any value you want.
testView.frame = frame;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:20:19+00:00Added an answer on May 26, 2026 at 1:20 pm

    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;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've googled but I could only find how to upload one file... and I'm
I can't find much information on const_cast . The only info I could find
I guess this is a basic question but I could not find the solution.
I could only find the function confirm() that gives OK/Cancel buttons. Is there any
[Disclaimer: I looked at the related questions and could only find relevant material for
The only instructions I could find are here: http://eigenclass.org/hiki/fast-widefinder and on the old jocaml
And what exactly is it? The only MS page I could find says its
How could I refactor this code to use only one Dir[ ] call? Dir[
I looked at different flash chart software (free and commercial) and could find only
Looked through many answers, but couldn't find one solving this. I have four (potentially

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.