2014-02-08 43 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]; 
相关问题