操作表警告?
|
我在我的应用程序中添加了一个操作表。我的应用程序是基于标签栏的应用程序。
我以这种方式添加了
actionSheet = [[UIActionSheet alloc] initWithTitle:nil
delegate:self
cancelButtonTitle:@\"Cancel\"
destructiveButtonTitle:nil
otherButtonTitles:@\"Take photo\",@\"Use existing photo\",nil];
actionSheet.actionSheetStyle = UIBarStyleBlackTranslucent;
[actionSheet showFromTabBar:self.view];
但是它显示警告:
我该如何删除它。同时,我在要显示操作表的选项卡中。
没有找到相关结果
已邀请:
3 个回复
恋裂
舶啥戚
试试这个,可能对您有帮助。
泪琉踞檄
吗?