-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I have wrapped this progress bar inside a scrollview. But this progress bar is still not scrollable.
I have tried to alter the width and all the possible things to do as i am using scrollviews extensively in my app. But it is not working in your library.
Indeed i have added some other objects in the scrollview and it scrolled fine.
But i thing. Progress bar is not appending its content width even after adding the values programatically.
Attaching the picture also.
Following is the code for more context.
`
progressbar.titles = ["Personal Details", "Address", "Submit", "Forth", "Fifth", "Sixth"]
progressbar.images = [
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_approved_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_approved_off")!
]
progressbar.activeImages = [
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_approved_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_approved_on")!
]
progressbar.currentTab = 1
progressbar.stepDrawingMode = .image
progressbar.justCheckCompleted = true
progressbar.tintActiveImage = true
`
