I am a beginner in iOS development, and yesterday I learned about the UIAlertViewDelegate
protocol from the Apple developer website.
I used -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
for managing the buttonindex
and the performing the specific task.
However, when I use 2 UIAlertView
s on the same outlet, they both use the same UIAlertViewDelegate
protocol. How can I use different delegates for the other UIAlertView
in my application?
Also, how can I change the default design of the UIAlertView
in my Application?