-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go to spine reference programatically #106
Comments
Will go through all of the spine references and get the pages html. |
@ashleypeacock I know that ,but after loading all the pages in webview, i want to navigate to a spine reference point programatically how can i acheive it? for example in spine if there is chapter 1 or chapter 2 ,how can i go to that specific point in book? |
Well, you just need to replace the 'for loop ' above with whatever index you like.
Keep in mind, the first few pages are usually things like title pages or cover pages, about pages, etc. So it's harder to say "Get me chapter 1". You could also use the table of contents in replacement of the spine reference.
And by doing this you could get a chapter by it's name, which might be better than getting it by index. |
How can i go to spine reference programatically ? I am getting titles of the spine and displaying it in list view ,now when user clicks on list item i want to go to that perticular page(chapter) programatically.How can i acheive this?
The text was updated successfully, but these errors were encountered: