ShareKit - Twitter- modalviewcontroller glitch/issue?
So i'm having this problem with ShareKit... i have viewcontrollers attached to a tabbar... if i launch an SHKActionSheet directly from one of those VCs it works fine, but it i use a modalviewcontroller and launch ShareKit from it messes up SHK across the app... for example if i click on twitter from sharekit then cancel twitter, the next time i use ShareKit it doesn't do anything when anything but facebook it clicked on... can i not launch sharekit from a modalviewcontroller, or is there a way to fix this?
- (IBAction)shareButtonPressed
{
NSString *someText = [NSString stringWithFormat:@"%@\n\n%@", sayingText.text, authorText.text];
RandomQuoteShareViewController *shareView = [[RandomQuoteShareViewController alloc] init];
shareView.shareText = someText;
[self presentModalViewController:shareView animated:YES];
}
then this code is in viewDidLoad of the modalview:
SHKItem *item = [SHKItem text:someText];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
// Display the action sheet
[actionSheet showFromTabBar:self.view];
|