PDA

View Full Version : ActionSheet Loses a Button on iPad




newtoiphonesdk
Apr 20, 2011, 10:13 PM
It's not the cancel button, I'm not that bad. I am using ShareKit as you may know from previous posts. Everything is set up fine and working great now except for the iPad. I have 4 total views that use ShareKit, 1 URL share, and 3 File Shares. The Url has options for email facebook and twitter on actionsheet, while file share has only email. When I run it on the iPad, it loses a button. URL only shows facebook and twitter, and file share just shows the title of the actionsheet. here is the code
- (IBAction)share {

NSURL *url = [NSURL URLWithString:@"http://www.maulroad.com"];
SHKItem *item = [SHKItem URL:url title:@"Join me @ Maul Road Church of Christ this Sunday! Bible Class @9:45AM Worship @10:40AM! Click link for our website."];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
[actionSheet showInView:self.tabBarController.view];

}