|Feb 3, 2013, 02:48 PM||#1|
iOS PDF Reader navigating direction issue !!
I'm using the open source PDF Reader v2.6.1 ( https://github.com/vfr/Reader).
In this source code, you can navigate between pages by swiping from Right to Left to go to the next page.
I just want to inverse the direction of the navigation to be from Left to Right.. which mean the user will swipe from left to right ( Like an Arabic book ).
Hope that my question is clear, thanks all in advance
|Feb 10, 2013, 12:46 PM||#2|
I believe this is non trivial. All that code assumes page numbers are 1-n from left to right. The scroll view contains three ReaderContentViews with coordinate systems set up assuming left to right page order. Each ReaderContentView uses the page number as the view tag. Switching to the next/previous page is done in ReaderViewController.scrollViewDidEndDecelerating I believe. In ReaderViewController.showDocumentPage there is a bunch of code that sets up the view coordinate systems (content offset) to carefully order them so scrolling works.
If you reversed the page order scheme you would have to reorder the thumbnails as well.
Can you achieve what you want just by editing the PDF (using Preview app or something) to reorder the pages, then start on the last page?
|Mar 10, 2013, 05:18 PM||#4|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Please Help! PDF reader that syncs to iOS?||username:||Mac Applications and Mac App Store||8||Jan 18, 2014 05:41 PM|
|[Universal App] PDF Reader Pro: The Ultimate PDF Solution||YUYAO||iPhone and iPod touch Apps||2||Nov 18, 2012 09:01 PM|
|Want to keep pdf files from PDF Reader Pro on ipad||gangof4||iCloud and Apple Services||0||Oct 12, 2012 05:03 PM|
|[LIMITED TIME SALE!] Universal PDF Solution: PDF Reader Pro||YUYAO||iPhone and iPod touch Apps||0||Sep 27, 2012 10:26 PM|
All times are GMT -5. The time now is 11:47 AM.