pdffun | PDF fun | Document Editor library
kandi X-RAY | pdffun Summary
kandi X-RAY | pdffun Summary
PDF fun
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Render the pdf page .
- Generate an invoice file .
- String representation of the invoice
pdffun Key Features
pdffun Examples and Code Snippets
Community Discussions
Trending Discussions on pdffun
QUESTION
I have a ViewController in my app that allows the user to open a PDF. The app supports landscape and portrait orientation the of device. I am having a problem when the user changes the devices orientation after opening the PDF. The PDF has two pages: Page 1 - All pink and Page 2 - All purple
I am encountering a framing problem once the PDF is opened and the user changes the devices orientation. If the PDF is opened in a portrait orientation, the pdf only fills up half of the screen once the ordination of the device is changed to landscape:
Likewise, if the PDF is opened in a Landscape orientation, the pdf will only show on half of the screen once the orientation of the device is portrait:
Here is my code:
...ANSWER
Answered 2019-Jan-14 at 07:03Best way is you add layout constraints to your pdfView. In your viewDidLoad for example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pdffun
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page