2013-01-08 50 views

回答

1

試試這個: -

UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:@"options" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Option 1", @"Option 2", nil]; 
popupQuery.actionSheetStyle = UIActionSheetStyleBlackOpaque; 
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) 
    { 
     //popupQuery. 
     [popupQuery showInView:self.view]; 
    } 

而且是其得到蘋果的批准

希望它可以幫助你

相關問題