Skip to content

Custom Scroll bar is not showing in Swift 3 #10

@sarathdev

Description

@sarathdev
    self.myItemsTableView.showsVerticalScrollIndicator = true
    
    
    scrollBar.trackTintColor = UIColor.black
    scrollBar.trackWidth = 3.3
    
    myItemsTableView.to_add(scrollBar)

    myItemsTableView.indicatorStyle = UIScrollViewIndicatorStyle.black
    
   myItemsTableView.separatorInset = myItemsTableView.to_scrollBar!.adjustedTableViewSeparatorInset(forInset: myItemsTableView.separatorInset)]

this is how i added the control. If Im missing any code please help to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions