Custom “Email” action in UIDocumentInteractionController

后端 未结 2 1253
遇见更好的自我
遇见更好的自我 2020-12-31 08:33

Is there any way to add a custom action to the list of actions provided by the UIDocumentInteractionController?

I would like to add an \"Email\" action to the list.

相关标签:
2条回答
  • 2020-12-31 09:06

    You cannot add items to the Document Interaction Controller at this time.

    0 讨论(0)
  • 2020-12-31 09:14

    Send by email and SMS are not available while using

    - (BOOL)presentOpenInMenuFromRect:(CGRect)rect inView:(UIView *)view animated:(BOOL)animated;
    

    or

     - (BOOL)presentOpenInMenuFromBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated;
    

    Consider using

    - (BOOL)presentOptionsMenuFromRect:(CGRect)rect inView:(UIView *)view animated:(BOOL)animated;
    

    instead.

    0 讨论(0)
提交回复
热议问题