@@ -160,6 +160,8 @@ - (IBAction)alert2:(id)sender
160160- (IBAction )alert3 : (id )sender
161161{
162162 SIAlertView *alertView = [[SIAlertView alloc ] initWithTitle: nil message: @" Message3" ];
163+ alertView.tintColor = [UIColor orangeColor ];
164+
163165 [alertView addButtonWithTitle: @" Cancel"
164166 type: SIAlertViewButtonTypeCancel
165167 handler: ^(SIAlertView *alertView) {
@@ -170,10 +172,18 @@ - (IBAction)alert3:(id)sender
170172 handler: ^(SIAlertView *alertView) {
171173 NSLog (@" OK Clicked" );
172174 }];
175+ alertView.tintColor = [UIColor greenColor ];
173176 alertView.transitionStyle = SIAlertViewTransitionStyleDropDown;
174177 alertView.backgroundStyle = SIAlertViewBackgroundStyleSolid;
175178 alertView.defaultButtonBackgroundColor = [UIColor blackColor ];
176179 alertView.cancelButtonBackgroundColor = [UIColor blackColor ];
180+ alertView.seperatorColor = [UIColor colorWithWhite: 1 alpha: 1 ];
181+ alertView.viewBackgroundColor = [UIColor darkGrayColor ];
182+ // alertView.messageAttributes = @{NSForegroundColorAttributeName : [UIColor lightGrayColor]};
183+ NSMutableDictionary *attributes = [alertView.messageAttributes mutableCopy ];
184+ attributes[NSForegroundColorAttributeName ] = [UIColor whiteColor ];
185+ attributes[NSFontAttributeName ] = [UIFont systemFontOfSize: 30 ];
186+ alertView.attributedMessage = [[NSAttributedString alloc ] initWithString: @" Message3" attributes: attributes];
177187
178188 alertView.willShowHandler = ^(SIAlertView *alertView) {
179189 NSLog (@" %@ , willShowHandler3" , alertView);
0 commit comments