【发布时间】:2012-04-19 19:07:50
【问题描述】:
您好,我是 Xcode 和 iOS 编程的新手。 我的操作表和警报出现问题,必须按两次才能工作。 它还说: “呈现由其超级视图剪辑的操作表”。某些控件可能无法响应触摸。在 iPhone 上尝试 -[UIActionSheet showFromTabBar:] 或 -[UIActionSheet showFromToolbar:] 而不是 -[UIActionSheet showInView:]。
{
UIActionSheet *actionSheet = [[UIActionSheet alloc]
initWithTitle:@"¿?" delegate:self cancelButtonTitle:@"No" destructiveButtonTitle:@"Send" otherButtonTitles:nil];
[actionSheet showInView:self.view];
}
任何帮助将不胜感激!
【问题讨论】:
标签: iphone ios objective-c uialertview uiactionsheet