Making share extension with custom layout

前端 未结 2 1291
情话喂你
情话喂你 2021-02-07 03:41

I want to develop ios share extention with custom callout. In apple documents

To provide a custom compose view instead of the standard one, deselect “Us

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-07 04:04

    It looks like that option was removed (or never made it to a public release).

    Anyway, from reading the description, it sounds like you just need to create a share extension, and change the ShareViewController's superclass from SLComposeServiceViewController to UIViewController, and get rid of the isContentValid, didSelectPost, and configurationItems stub methods in the class definition.

    Then you can set up your view however you like in MainInterface.storyboard.

提交回复
热议问题