How to hide share button in QLPreviewController using swift?

前端 未结 7 2095
无人共我
无人共我 2021-01-06 02:40

I\'m using the below code to use QLPreviewcontroller to show some documents in my app,

let ql = QLPreviewController()
ql.dataSource = self
//ql.navigationIte         


        
相关标签:
7条回答
  • 2021-01-06 03:26
    let previewController = QLPreviewController()
    previewController.navigationItem.rightBarButtonItem = UIBarButtonItem()
    self.present(previewController, animated: true, completion: { })
    
    0 讨论(0)
提交回复
热议问题