2014-02-08 80 views

回答

4

那是一個UIActionSheetOfficial Documentation

它無法從UI元素列表中拖入。它以編程方式呈現,非常類似於UIAlertView

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Title" 
    delegate:self cancelButtonTitle:@"Cancel Button" 
    destructiveButtonTitle:@"Destructive Button" 
    otherButtonTitles:@"Other Button 1", @"Other Button 2", nil]; 

[actionSheet show]; 
相關問題