coryalder / DMActivityInstagram

Instagram sharing, iOS 6 style.
MIT License
229 stars 66 forks source link

Instagram not showing in UIActivityViewController #25

Open ninjagal21 opened 8 years ago

ninjagal21 commented 8 years ago

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(

seanhess commented 8 years ago

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.

kpavankotesh commented 7 years ago

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?