diff --git a/share/ios/Plugin/SharePlugin.swift b/share/ios/Plugin/SharePlugin.swift index ff9950ab9..ef5ed2db3 100644 --- a/share/ios/Plugin/SharePlugin.swift +++ b/share/ios/Plugin/SharePlugin.swift @@ -36,6 +36,10 @@ public class SharePlugin: CAPPlugin { } actionController.completionWithItemsHandler = { (activityType, completed, _ returnedItems, activityError) in + + self?.bridge?.webView?.frame.size.height = UIScreen.main.bounds.size.height; + self?.bridge?.webView?.frame.origin.y = 0; + if activityError != nil { call.reject("Error sharing item", nil, activityError) return