I am working on an image editing application and we want to provide a short message with a hashtag next to the image. It works great for most apps, some apps that donβt support posting (like Facebook) just ignore it, but Snapchat just doesn't show up. When I completely delete the message, Snapchat appears and works fine.
Here is my code that makes Snapchat not displayable (also doesn't work when using UIActivityItemProvider):
let message = "Short message, #hashtag" let activityViewController = UIActivityViewController(activityItems: [message, image], applicationActivities: nil)
Here's the code that doesn't send the message and call Snapchat:
let activityViewController = UIActivityViewController(activityItems: [image], applicationActivities: nil)
Is there a way to get Snapchat to ignore this message so that it appears? I know this may be a problem for their application, since this is the only thing we found is not displayed, but maybe there is a way to βhideβ this message from Snapchat?
Thanks!:)
source share