Reputation: 238
i am using this vfr reader to show pdf pages.i need to make the pdf page to fit to the entire screen. how can i do this. I tried everything but couldn’t get it. Can someone please lead me to in right direction.
Thanks in advance.
Upvotes: 0
Views: 453
Reputation: 11
I found a way: Set the statusbar to hidden in viewWillAppear
of ReaderViewController
, then set READER_SHOW_SHADOWS
to FALSE
and CONTENT_INSET
to 0
in ReaderContentView
. Also, make sure your PDF's aspect ratio is 4:3.
Upvotes: 1
Reputation: 1294
In initWithURL:page:password
method of ReaderContentPage.m
, you need to set viewRect.size
to full screen size.
Upvotes: 0