You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 3 items I would like to share, a title, an image and a link. Depending on the situation (sms vs email vs facebook vs twitter) there are different thinks I would like to share. This works perfectly and why I use RDActivityViewController.
However, I have one problem, and that is the "Save to cameraroll" is not working.
UIActivityViewController does not know what type of object would like we share. That's why "Save Image" not shown.
Apple says it's not a problem there is a activityViewControllerPlaceholderItem method in UIActivityItemSource. RDActivityViewController actually handles this (called placeholderItem), but sadly this isn't what it looks like. If I use a placeholderItem Twitter sharing disappears and there will be a "Save 3 Images" (or "Save 10 Images" depends on the maximumNumberOfItems) text on UIActivityViewController. (???)
So I tried to some alternative solutions. After a dozen of "dead end" I added not only the subclassed UIActivityItemSource objects but a real UIImage to "tell" UIActivityViewController there will be an image too. In this case everything looks fine, but text says "Save 10 images" ..
I gave it up... :)
The text was updated successfully, but these errors were encountered:
I have 3 items I would like to share, a title, an image and a link. Depending on the situation (sms vs email vs facebook vs twitter) there are different thinks I would like to share. This works perfectly and why I use RDActivityViewController.
However, I have one problem, and that is the "Save to cameraroll" is not working.
UIActivityViewController does not know what type of object would like we share. That's why "Save Image" not shown.
Apple says it's not a problem there is a activityViewControllerPlaceholderItem method in UIActivityItemSource. RDActivityViewController actually handles this (called placeholderItem), but sadly this isn't what it looks like. If I use a placeholderItem Twitter sharing disappears and there will be a "Save 3 Images" (or "Save 10 Images" depends on the maximumNumberOfItems) text on UIActivityViewController. (???)
So I tried to some alternative solutions. After a dozen of "dead end" I added not only the subclassed UIActivityItemSource objects but a real UIImage to "tell" UIActivityViewController there will be an image too. In this case everything looks fine, but text says "Save 10 images" ..
I gave it up... :)
The text was updated successfully, but these errors were encountered: