ianb821 / IBActionSheet

Customizable iOS 7 style UIActionSheet
MIT License
307 stars 65 forks source link

iOS 8 not rendering the IBActionSheet properly #20

Closed 128keaton closed 10 years ago

128keaton commented 10 years ago

screen shot 2014-10-03 at 1 58 13 pm 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]; ```
128keaton commented 10 years ago

nevermind, storyboard was (and is) having issues.