1

The extension Share when we created it, is automatically created one file called mainInterface.storyboard, which in this case seems to be a kind of custom screen for the share Extension.

In my case I changed this screen and to my surprise when I select my application to give share, it besides pulling the custom screen, it also commonly pulls the original screen on the share (that with the text field two buttons).

How can I make to no push original screen, but push the custom screen?

LettersBa
  • 747
  • 1
  • 8
  • 27

1 Answers1

3

Most likely your view controller is still a subclass of SLComposeServiceViewController. That class will always display the default share UI if you use it. If you don't want that UI, you should change your view controller to inherit from UIViewController instead.

Tom Harrington
  • 69,312
  • 10
  • 146
  • 170
  • Others Commands, Others problems, Your idea works very well, now If I open share extension with an image, how can I get the Image Url, and if in safari, how can I get the URL? – LettersBa Feb 17 '15 at 01:21
  • That is a totally different question (and one which is covered in Apple's docs and several web tutorials) – Peter Johnson Oct 12 '15 at 15:11