나는 코드를 사용하고 있습니다 :UIActionSheet에 녹색 버튼을 코딩하는 방법은 무엇입니까?
{ randomstatus=0; msg=[[NSString alloc]initWithFormat:@"Good job, do you want to continue?"]; UIActionSheet *actionSheet=[[UIActionSheet alloc]initWithTitle:msg delegate:self cancelButtonTitle:@"No" destructiveButtonTitle:@"Yes" otherButtonTitles:nil]; [actionSheet showInView:self.view]; [actionSheet release]; [msg release]; }
내가 코드를 변경하지 않지만, 나는 "destructiveButton"필요 녹색 대신에 빨간색으로 할 수 있습니다. 이것이 가능합니까 아니면 다른 버튼을 사용해야합니까?