-1

enter image description here

Same as above screen i want to show Pdf document in two lanes. I have tried displayMode property of pdfview but not find any desired solution.

James Z
  • 12,209
  • 10
  • 24
  • 44
Jagveer Singh
  • 2,258
  • 19
  • 34

1 Answers1

0

Assuming you have the solution to read and display the pdf doc in a view, all you need, is to have another layout where you would be reading the pdfs and generate thumbnails of it. This layout could be a UITableView or UICollectionView. On tap of these thumbnails, you would open the respective pdf in the detail View on the right.

The side bar view (collection/table view on the left) and the detail view both can be backed by a single controller (added as subviews) or could be backed by separate view controllers added to and maintained by a container View (both will be added as childviewcontroller ref:https://developer.apple.com/documentation/uikit/view_controllers/creating_a_custom_container_view_controller). The choice of the design is upto you depending on how much work the controller got to do.

singhabhi13
  • 227
  • 1
  • 7