How to open or display a PDF file without using UIWebView . I need to use UIView for horizontal scroll for a PDF view.
UIWebView
UIView
scroll
If you do not want to use UIWebView, your alternative is to use the QLPreviewController to display the PDF file.
You can also use the UIDocumentInteractionController
Mark the sample from apple , i.e. docInteraction for more help.
Check out the OpenSource Reader project on GitHub.
See the CGPDFDocument and its associated APIs. That should make you go.
CGPDFDocument
Source: https://habr.com/ru/post/1435425/More articles:Allow users to choose between Google Maps and Apple Maps in iOS 6? - iosChange text color of ActionBar - javaEmacs key-bindings: (dired) mode overwrites the secondary key map? - emacsHow can I hide activity? - androidThe difference between the Biggest Rectangle in the Bar Chart and the Container with Most Water - algorithmHow to get Java to register string input with spaces? - javaWhy is it not recognized git, previously noted during renaming during merging - does it make sense to combine the direction? - gitHow to increase array size in java? - javaLarge images not showing up in Chrome? - google-chromeSpree changes default currency and country - ruby-on-railsAll Articles