I need to make a kind of progress bar for the reading levels of a book.
When the user reads the certain pages of the book, the progress bar should show the visual progress that highlights only specific area of the progress bar for the pages that have been read.
For example, if the total number of pages for a book is 100 and user has read the page 1 to 10 and 90 to 100, the bar should show the 10% highlight on the extreme left and 10% highlight on the extreme right. This way, the progress bar will show different areas in it that have been read.
I can't seem to find the native methods in the UIProgress bar that supports this. Is there anyway this can be done?