Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Can we implement swipe feature in UIDocumentInteractionController

Currently I am opening a pdf file in UIDocumentInteractionController. My app needs to implement a swipe feature for opened files in this controller.

 var interaction: UIDocumentInteractionController
 interaction = UIDocumentInteractionController(url: URL(string: "<PDF FILE PATH>")!)

 interaction.delegate = self
 interaction.presentPreview(animated: true) 

Comments