Can I hide the Action button on the UIDocumentInteractionController view?

后端 未结 2 605
孤城傲影
孤城傲影 2021-01-14 12:47

I wanted to know if I can hide the Action button on the UIDocumentInteractionController so a user couldn\'t actually open the document in another app?

2条回答
  •  萌比男神i
    2021-01-14 13:24

    The whole purpose of the UIDocumentInteractionController is to show the user which applications can handle a file and give them a way to 'send' the file to the app they choose. Since hiding/disabling the button would confuse the user, I doubt it is possible (at least not without resorting to undocumented method calls).

提交回复
热议问题