Making share extension with custom layout

Canberk Ersoy picture Canberk Ersoy · Sep 18, 2014 · Viewed 9.7k times · Source

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 “Use standard social compose interface” in the Xcode target-adding pane. When this checkbox is deselected, the default SharingViewController class is based on NSViewController or UIViewController, depending on the platform you chose.

but I can't find the check box. Can anyone show me how to disable it and is there any good tutorials for share extention.

Thanks

Answer

rob mayoff picture rob mayoff · Sep 18, 2014

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.