Closed jderfner closed 11 years ago
If you don't want the other things showing up (twitter, facebook, etc.) I think you need to use UIActivityViewController's excludedActivityTypes property to exclude all the default activities.
.igo and com.instagram.exclusivegram are about solving a different issue (multiple apps appearing in the UIDocumentInteractionController).
The missing Instagram icon makes me thing that there was an issue with installing DMActivityInstagram. Did you use Cocoapods, or install it yourself? are the instagram.png and instagram@2x.png added to your project target?
Of course that was it—I'd installed everything but the .pngs. Everything is working just fine now. Thanks for the help, and for the awesome code.
On Jan 30, 2013, at 6:38 PM, Cory Alder notifications@github.com wrote:
If you don't want the other things showing up (twitter, facebook, etc.) I think you need to use UIActivityViewController's excludedActivityTypes property to exclude all the default activities.
.igo and com.instagram.exclusivegram are about solving a different issue (multiple apps appearing in the UIDocumentInteractionController).
The missing Instagram icon makes me thing that there was an issue with installing DMActivityInstagram. Did you use Cocoapods, or install it yourself? are the instagram.png and instagram@2x.png added to your project target?
— Reply to this email directly or view it on GitHub.
Great! Glad that solved it!
When you release your app, I'd love it if you'd add it to the wiki page https://github.com/coryalder/DMActivityInstagram/wiki
On 2013-01-30, at 8:16 PM, jderfner notifications@github.com wrote:
Of course that was it—I'd installed everything but the .pngs. Everything is working just fine now. Thanks for the help, and for the awesome code.
On Jan 30, 2013, at 6:38 PM, Cory Alder notifications@github.com wrote:
If you don't want the other things showing up (twitter, facebook, etc.) I think you need to use UIActivityViewController's excludedActivityTypes property to exclude all the default activities.
.igo and com.instagram.exclusivegram are about solving a different issue (multiple apps appearing in the UIDocumentInteractionController).
The missing Instagram icon makes me thing that there was an issue with installing DMActivityInstagram. Did you use Cocoapods, or install it yourself? are the instagram.png and instagram@2x.png added to your project target?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Will do!
On Jan 30, 2013, at 11:17 PM, Cory Alder notifications@github.com wrote:
Great! Glad that solved it!
When you release your app, I'd love it if you'd add it to the wiki page https://github.com/coryalder/DMActivityInstagram/wiki
On 2013-01-30, at 8:16 PM, jderfner notifications@github.com wrote:
Of course that was it—I'd installed everything but the .pngs. Everything is working just fine now. Thanks for the help, and for the awesome code.
On Jan 30, 2013, at 6:38 PM, Cory Alder notifications@github.com wrote:
If you don't want the other things showing up (twitter, facebook, etc.) I think you need to use UIActivityViewController's excludedActivityTypes property to exclude all the default activities.
.igo and com.instagram.exclusivegram are about solving a different issue (multiple apps appearing in the UIDocumentInteractionController).
The missing Instagram icon makes me thing that there was an issue with installing DMActivityInstagram. Did you use Cocoapods, or install it yourself? are the instagram.png and instagram@2x.png added to your project target?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Sorry to continue to be a problem—but any thoughts about why the Instagram icon has suddenly started showing up like this? instagram.png and instagram@2x.png have both been added to the target. It still WORKS absolutely fine—opens Instagram, etc.
On Jan 30, 2013, at 11:17 PM, Cory Alder notifications@github.com wrote:
Great! Glad that solved it!
When you release your app, I'd love it if you'd add it to the wiki page https://github.com/coryalder/DMActivityInstagram/wiki
On 2013-01-30, at 8:16 PM, jderfner notifications@github.com wrote:
Of course that was it—I'd installed everything but the .pngs. Everything is working just fine now. Thanks for the help, and for the awesome code.
On Jan 30, 2013, at 6:38 PM, Cory Alder notifications@github.com wrote:
If you don't want the other things showing up (twitter, facebook, etc.) I think you need to use UIActivityViewController's excludedActivityTypes property to exclude all the default activities.
.igo and com.instagram.exclusivegram are about solving a different issue (multiple apps appearing in the UIDocumentInteractionController).
The missing Instagram icon makes me thing that there was an issue with installing DMActivityInstagram. Did you use Cocoapods, or install it yourself? are the instagram.png and instagram@2x.png added to your project target?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
Hey Joel,
Your messages seems to be missing an image?
Weird. Do you get one now?
Begin forwarded message:
From: Cory Alder notifications@github.com Subject: Re: [DMActivityInstagram] controller presenting but not opening Instagram. (#5) Date: February 6, 2013 12:59:30 PM EST To: coryalder/DMActivityInstagram DMActivityInstagram@noreply.github.com Cc: jderfner joel@joelderfner.com Reply-To: coryalder/DMActivityInstagram reply@reply.github.com
Hey Joel,
Your messages seems to be missing an image?
— Reply to this email directly or view it on GitHub.
Nope. Don't see anything.
How about now?
Sent from my iDerf.
Again, nope. Maybe try uploading it to an imgur or tinypic, and posting the link?
Sent from my iDerf.
On Feb 6, 2013, at 2:51 PM, Cory Alder notifications@github.com wrote:
Again, nope. Maybe try uploading it to an imgur or tinypic, and posting the link?
— Reply to this email directly or view it on GitHub.
I see it now :)
I'm not sure why that would be happening...
I'd check that the image is not corrupted in some way, and that you don't have any collisions (two graphics called instagram.png or something?).
Also check the case. I had some issues with Instagram.png vs instagram.png because the OS X file system isn't case sensitive, but iOS is.
I figured out what happened—I was playing around with the icon and tried to substitute a different version, which failed. Then when I returned to the one you included I got that weirdness. I fixed it by changing the name of the image and changing the corresponding name of the UIImage in DMActivityInstagram.m, and everything worked fine. Thanks for your patience with a novice programmer!
On Feb 6, 2013, at 4:09 PM, Cory Alder notifications@github.com wrote:
I see it now :)
I'm not sure why that would be happening...
I'd check that the image is not corrupted in some way, and that you don't have any collisions (two graphics called instagram.png or something?).
Also check the case. I had some issues with Instagram.png vs instagram.png because the OS X file system isn't case sensitive, but iOS is.
— Reply to this email directly or view it on GitHub.
Ah yes, sometimes doing a Clean in Xcode can fix issues like that. Other times you have to nuke the "Derived Data" folder. Still other times you have turn around three times while hopping on one foot and saying supercalifragilisticexpialidocious backwards. ;)
Glad that's sorted. Closing the issue!
I've just added DMActivityInstagram to an app I'm working on, and things seem to be working okay until I try to present the UIDocumentInteractionController. This is the window that opens when I test on the device—with all these icons instead of just the one for Instagram (even though I've made sure that the extension is .igo and the UIT is com.instagram.exclusivegram), and no picture for Instagram, and when I press in the Instagram area, instead of Instagram opening, nothing happens. (Instagram is installed on the device.)
I'm at joel@joelderfner.com if you need/want more information.