From aaf9294dfb3e8dcd6ac6a4931fd5948b9f75b329 Mon Sep 17 00:00:00 2001 From: Michail Strokin Date: Mon, 11 Dec 2023 15:50:34 +0100 Subject: [PATCH] Remove SLComposeServiceViewController preview from ShareViewController --- ios/ShareViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/ShareViewController.swift b/ios/ShareViewController.swift index 12d8c92d..606a5f38 100644 --- a/ios/ShareViewController.swift +++ b/ios/ShareViewController.swift @@ -50,6 +50,10 @@ class ShareViewController: SLComposeServiceViewController { handlePost(items) } + override func loadPreviewView() -> UIView! { + return nil + } + override func configurationItems() -> [Any]! { // To add configuration options via table cells at the bottom of the sheet, return an array of SLComposeSheetConfigurationItem here. return []