Reputation: 407
In my project, I need to fetch some pdf files from server and display them in a slideshow.The slide show should contain the first page of each pdf or a preview image of each pdf and while clicking it, the particular pdf file should be open up. Is there any ios sdk available for implementing this functionality.
Upvotes: 0
Views: 1251
Reputation: 845
For slide show you can use tableview or collection view and to view PDF check this https://github.com/vfr/Reader
Upvotes: 1
Reputation: 4111
As far as I know there is nothing like that available in the iOS SDK. You will have to do it yourself. As mentioned in the Thread I posted in the comment, the ZoomingPDFViewer Example of Apple is a good place to start learning how to show a pdf. If I understand you right, you won´t need the zooming stuff so you can leave it out. Then show your pdfs in a view controller with some gesture recognizers to give the user the possibility to switch between them and then a double click gesture recognizer to open it. And that is it.
Edit to Fogmeister´s comment: As he mentioned you can use the UIPageViewController to switch between the pdf thumbnails.
Upvotes: 1