UIAlertView delegate in class method
To handle the UIAlertView (or any others class) delegate in class method just have to change the minus
- to plus
+ (void)someMethod:(NSString *)title withMessage:(NSString *)message
There is no need to conform to UIAlertViewDelegate protocol, without the statement below will also work.
@interface ViewController : UIViewController <UIAlertViewDelegate>