Closed King-hb closed 7 years ago
it will be fine
@King-whb did you run the sample? did you read the readme?
All the buttons could be customized using the buttonFormatBlock
SCLButton *button = [alert addButton:@"First Button" target:self selector:@selector(firstButton)];
button.buttonFormatBlock = ^NSDictionary* (void)
{
NSMutableDictionary *buttonConfig = [[NSMutableDictionary alloc] init];
buttonConfig[@"backgroundColor"] = [UIColor whiteColor];
buttonConfig[@"textColor"] = [UIColor blackColor];
buttonConfig[@"borderWidth"] = @2.0f;
buttonConfig[@"borderColor"] = [UIColor greenColor];
return buttonConfig;
};
Include the following:
1.0.3
6.0
iPhone 6
Reproduction Steps
1. 2. 3.
Expected Result
Actual Result
Tell us what could be improved: