This is the message I get in the console when I dismiss the email composer or any other sharing controller. It seems to affect both iOS 5 and iOS 6.
I am using a UITabBarController and an embedded UINavigationController. Here is some code:
SHKItem *item = [SHKItem URL:GAurl title:self.title contentType:SHKURLContentTypeWebpage];
SHKConfigurator *configurator = [[SHKConfigurator alloc] init];
[SHK setFavorites:[configurator defaultFavoriteURLSharers] forType:SHKShareTypeURL];
// customize the email subject and body
item.title = @"Worth sharing";
item.text = [NSString stringWithFormat:@"%@%@", emailBody, iTunesAppLinkRecommendation];
item.URL = [GAurl copy];
// Get the ShareKit action sheet
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
// ShareKit detects top view controller (the one intended to present ShareKit UI) automatically,
// but sometimes it may not find one. To be safe, set it explicitly
[SHK setRootViewController:self];
// Display the action sheet
[actionSheet showFromTabBar:self.tabBarController.tabBar];
This is the message I get in the console when I dismiss the email composer or any other sharing controller. It seems to affect both iOS 5 and iOS 6.
I am using a UITabBarController and an embedded UINavigationController. Here is some code: