ios - How can I two pages side-by-side in pdf reader when in landscape mode? -


i'm trying learn ios development. that, wanted develop "book" ipad. this, idea write simple pdf viewer couple of additional features specific book.

i'm new ios development, , i've seen, pdfs can tricky, decider search library or opensource project begin with.

i tried leaves, found this, doesn't have fancy eye-candy, works better big pdf's , looks promising. need do, however, able display two pages side side when ipad in landscape mode.

as said, i'm new ios, so: can give me pointer should start modify app? or maybe point me tutorials on this, or similar question? don't need copy paste code (but feel free post it, if must, :)), gidance start.

thanks!

tl;dr: want modify this code shows 2 pages side side in landscape mode, (tutorials on pdf in ios, snippets of code, pointing method should modify) appreciated!.

i dint see links included in question have idea how render pdf.use 2 tiledlayers side side on single view when in landscape mode.you should make viewcontroller class delegate both layers , handle content rendering in drawlayerincontext: method both layers differently, changing cgpdfpageref of pdf document display consecutive pages.set frames of layers first layer occupies first half of screen , other occupies second half.you may want hide 1 layer , change frame of other when reader in potrait mode.this cgdpfdocumentref , cgcontext drawing methods doing this.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -