弹出菜单

简介: 弹出菜单
- (IBAction)Open:(id)sender {
    UIActionSheet *menu = [[UIActionSheet alloc]
                           initWithTitle:@"select" delegate:self cancelButtonTitle:@"cancel" destructiveButtonTitle:@"delete" otherButtonTitles:@"rename", nil];
    [menu showInView:self.view];
   }
-(void)actionSheet:(UIActionSheet*)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{
}
相关文章
|
C#
WPF 左键单击弹出菜单 ContextMenu
原文:WPF 左键单击弹出菜单 ContextMenu WPF中的ContextMenu在XAML中可直接做出来,但是仅限于右键弹出菜单,如果需要添加左键弹出功能,只需要在事件中添加Click事件 XMAL代码如下 ...
2920 0
|
8月前
循环滑动的工具条
循环滑动的工具条
43 0
|
8月前
[Qt5] 右键窗体弹出菜单,实现图像适应窗体大小
[Qt5] 右键窗体弹出菜单,实现图像适应窗体大小
129 0
CDialog中使用工具栏和状态栏
CDialog中使用工具栏和状态栏
119 0