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 8636007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:07:02+00:00 2026-06-12T10:07:02+00:00

I want to set my custom image for UITableView scrollbar. For that i found

  • 0

I want to set my custom image for UITableView scrollbar.

For that i found this link: WKVerticalScrollBar for iOS

But it seems too complex to implement. It is just an image for TableView scrollbar.

Is there any other easy way to do that?

UPDATE – 1

My Tableview has only these 2 subviews

"<UIImageView: 0x6c2c9f0; frame = (0 778; 360 7); alpha = 0; opaque = NO; autoresize = TM; userInteractionEnabled = NO; layer = <CALayer: 0x6c2ca60>>",
"<UIImageView: 0x6c06680; frame = (353 778; 7 7); alpha = 0; opaque = NO; autoresize = LM; userInteractionEnabled = NO; layer = <CALayer: 0x6c2be70>>"

With that i Have tried with both index but any of it not working

    tblvw.showsVerticalScrollIndicator = YES;
    NSLog(@"tblview subview : %@",tblvw.subviews);
    UIImageView *imgview = [tblvw.subviews objectAtIndex:0];
    imgview.image = [UIImage imageNamed:@"Slider-strip.png"];

After making tblvw.showsVerticalScrollIndicator = NO;
I came to know that i was not getting the 2nd imageview as subview & only 1st imageview. So i tried using [tblvw.subviews objectAtIndex:1]; but also not working

  • 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-06-12T10:07:04+00:00Added an answer on June 12, 2026 at 10:07 am

    Working Perfectly:

    EDIT : Note: Best implementation is to have Vertical Image. For example like……………………………………… enter image description here

     if([self.tableView.subviews count] > 2){
     UIImageView *scrollViewBarImgView = [self.tableView.subviews objectAtIndex:2];
     UIImage *imgBar = [UIImage imageNamed:@"image.png"]; //your image here
     [scrollViewBarImgView setImage:imgBar];
     }
     else{
    
       UIImageView *scrollViewBarImgView = [self.tableView.subviews objectAtIndex:1];
       UIImage *imgBar = [UIImage imageNamed:@"image.png"]; //your image here
       [scrollViewBarImgView setImage:imgBar];
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a custom set that will automatically convert objects into a
i want to build a custom event with jQuery that is not set to
I would like to create a set of custom controls that are basically image
I want to set a custom background (image) to my grouped table view. In
I want to set a background image to my listview so that regardless of
I'm trying to set a custom background image for a UITableViewCellAccessory. Is this possible?
I created a custom EditorPart, and I want to set the Zone and ZoneIndex
i want maven to download custom jar files from an ftp how to set
I have a large data set and I want to write a custom merge
I want set Listbox background to transparent but not working Is there any idea?

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.