Wie code ich einen grünen Knopf in UIActionSheet?

Ich bin mit dem code:

  {
        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];
    }   

Möchte ich nicht den code ändern, aber ich brauche die "destructiveButton" grün statt rot. Ist das möglich, oder brauche ich eine andere Taste?

InformationsquelleAutor Joshua | 2010-03-21
Schreibe einen Kommentar