ActionSheet ios中Actionitems之间缺少分隔线

时间:2014-05-06 05:41:29

标签: ios ipad uiactionsheet

我正在创建一个操作表,但最后两个项之间缺少一个分隔线。检查最后的项目VIC和WA。有什么想法吗?

- (IBAction)stateButtonClick:(id)sender
{
    statesSheet = [[UIActionSheet alloc]initWithTitle:@"Select State"
                                             delegate:self
                                             cancelButtonTitle:Nil
                                             destructiveButtonTitle:nil
                                             otherButtonTitles: @"ACT",@"NSW",@"NT",@"QLD",@"SA",@"TAS",@"VIC",@"WA", nil];
    [statesSheet showFromRect:_stateTextField.frame inView:self.view animated:true];
}

enter image description here

0 个答案:

没有答案