Figured it out.
Just don't use the built-in SLComposeServiceViewController
@interface ShareViewController : UIViewController @end
And be sure to call the following function when you're done with the sharing extension
[self.extensionContext completeRequestReturningItems:@[] completionHandler:nil];
In other words, replace the contents of ShareViewController.swift with:
import UIKit class ShareViewController: UIViewController { override func viewDidLoad() { extensionContext?.completeRequest(returningItems: [], completionHandler: nil) } }
source share