我正在创建一个操作表,但最后两个项之间缺少一个分隔线。检查最后的项目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];
}