We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2461e3 commit 5ffa5ccCopy full SHA for 5ffa5cc
1 file changed
SIAlertView/SIAlertView.m
@@ -780,7 +780,7 @@ - (void)teardown
780
- (void)setupContainerView
781
{
782
self.containerView = [[UIView alloc] initWithFrame:self.bounds];
783
- self.containerView.backgroundColor = [UIColor whiteColor];
+ self.containerView.backgroundColor = _viewBackgroundColor ? _viewBackgroundColor : [UIColor whiteColor];
784
self.containerView.layer.cornerRadius = self.cornerRadius;
785
self.containerView.layer.shadowOffset = CGSizeZero;
786
self.containerView.layer.shadowRadius = self.shadowRadius;
0 commit comments