Closed 128keaton closed 10 years ago
Running iOS 8.
Code:
self.addPerson = [[IBActionSheet alloc]initWithTitle:title delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Hello" otherButtonTitles:@"I owe", @"Someone owes me", nil]; [self.addPerson setButtonBackgroundColor:[UIColor colorWithRed:0.1765 green:0.1765 blue:0.1765 alpha:1.0]]; [self.addPerson setButtonTextColor:[UIColor whiteColor]]; self.addPerson.buttonResponse = IBActionSheetButtonResponseHighlightsOnPress; [self.addPerson setButtonHighlightTextColor:[UIColor whiteColor]]; [self.addPerson setButtonHighlightBackgroundColor:[UIColor colorWithRed:0.1765 green:0.1765 blue:0.1765 alpha:1.0]]; [self.addPerson showInView:self.view]; ```
nevermind, storyboard was (and is) having issues.
Running iOS 8.
Code: