ActionView箭头位置iPad

时间:2014-03-25 13:45:37

标签: objective-c uiactionsheet

我尝试创建一个下拉菜单,我正在尝试使用UIActionSheet。有没有办法在显示操作表时更改箭头的位置?

UIActionSheet *actionSheet = [[UIActionSheet alloc]
                              initWithTitle:nil
                              delegate:self
                              cancelButtonTitle:nil
                              destructiveButtonTitle:nil
                              otherButtonTitles:nil];

[actionSheet addButtonWithTitle:@"Mr"];
[actionSheet addButtonWithTitle:@"Mrs"];
[actionSheet addButtonWithTitle:@"Miss"];

[actionSheet showFromRect:[sender frame] inView:self.view animated:YES];

1 个答案:

答案 0 :(得分:0)

简短的回答是

对于该功能,您需要创建自己的UIActionSheet替代品。