2014-03-25 72 views
0

我試着創建一個下拉菜單,並且正在試驗UIActionSheet。在操作表顯示時,是否有辦法改變箭頭的位置?UIActionView箭頭位置iPad

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

簡短的回答是NO

對於該功能,您需要創建自己的UIActionSheet的替代方案。