how to supress prevent comment text message popup and directly send selected media to the app like ios Whatsapp does
how to supress prevent comment text message popup and directly send selected media to the app like ios Whatsapp does? without the last part in the screenshot above. seems like it is not possible using SLComposeServiceViewController need to implement custom viewcontroller. any one can achive this or alternative plugin ? thanks
import UIKit import Social import receive_sharing_intent
class ShareViewController: RSIShareViewController {
// Use this method to return false if you don't want to redirect to host app automatically.
// Default is true
override func shouldAutoRedirect() -> Bool {
return true
}
}
import UIKit import Social import receive_sharing_intent
class ShareViewController: RSIShareViewController {
// Use this method to return false if you don't want to redirect to host app automatically. // Default is true override func shouldAutoRedirect() -> Bool { return true }}
the question was to prevent showing comment popup after gallery selection
Same issue showing comment popup after selecting file
we did custom solution extending directly UIViewController cause original plugin extends from SLComposeServiceViewController which has this message dialog.