ShareKit/ShareKit — Issue #115: Issue opening Twitter
Author: sebrk
Created: 2011-11-28 21:16:24+00:00
State: open

I have an issue opening Twitter. I've tested this in two applications and one works where the other does not. The only difference I can see is how SHK is presented where in the working case it is presented like so:

SHKItem *item = [SHKItem text:infoText];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
[actionSheet showInView:self.view];

and the other (not working) like so:

SHKItem *item = [SHKItem text:noteLabel.text];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
[actionSheet showFromTabBar:self.tabBarController.tabBar];

in the last case I also set the rootViewController with:

[[SHK currentHelper] setRootViewController:self.tabBarController];

I don't understand why the second fails. What happens is that nothing really happens. The actionSheet closes (or the Share Menu) but no Twitter form or iOS5-twitter-style view will show. Nothing. Can anyone try to reproduce this as I find it really strange behavior?