我的应用程序只是像这样调用一个 UIActionSheet:
UIActionSheet *dataCopySheet = [[UIActionSheet alloc] initWithTitle:@"Copy Element Information" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Name", @"Melting Point", @"Boiling Point", @"Atomic Mass", @"Density", @"Discovery Info", @"Save Image", nil];
[dataCopySheet showInView:detailView];
出于某种原因,由此显示了两个 UIActionSheets(一个出现在另一个之上)。难道我做错了什么?