我想显示这样的子视图(当我尝试转发邮件时出现)。 如何选择这种阴影颜色?非常感谢你。
答案 0 :(得分:4)
实际上这是UIActionSheet,以下是
的代码UIActionSheet *actionSheet;
actionSheet = [[UIActionSheet alloc] initWithTitle:@"Choose Option" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles: @"Rispondi",@"Rispondi a tutti",@"inoltra",@"stampa",nil];
actionSheet.actionSheetStyle = UIActionSheetStyleBlackOpaque;
[actionSheet showInView:self.view];