我尝试创建一个下拉菜单,我正在尝试使用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];
答案 0 :(得分:0)
简短的回答是否。
对于该功能,您需要创建自己的UIActionSheet替代品。