DMActivityInstagram icon indicating copy to clipboard operation
DMActivityInstagram copied to clipboard

Instagram not showing in UIActivityViewController

Open ninjagal21 opened this issue 8 years ago • 2 comments

Hello, I installed your library using pods. After opening activity controller I don't see instagram icon and can't find instagram.png and other images in my project(

ninjagal21 avatar Mar 03 '16 11:03 ninjagal21

I'm having the same problem. Your code appears to be loading resources assuming they are in the main bundle, but cocoapods puts them into a bundle named after the pod. See here: https://github.com/CocoaPods/CocoaPods/issues/2071

To fix: update DMActivityInstagram.m to load the image from this pod's bundle instead of the main bundle.

Similarly, I'm crashing after I select Instagram from the list:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/7A19FB81-A964-403E-8704-B4EB301E90DA/ShakeItPhoto.app> (loaded)' with name 'DMResizerViewController''

To fix: update DMResizerViewController to use the pod's bundle instead of the main bundle.

@coryalder are you still maintaining this? I will create a pull request if you are willing to review it and republish.

seanhess avatar Jun 08 '16 17:06 seanhess

I am facing the same issue but when I add only Image in the list it shows up. When I add my share text and share url it doesn't show up. Seems like some issue with Instagram API. Any help in this regard?

kpavankotesh avatar Dec 05 '16 07:12 kpavankotesh