UIAlertView+LBXAlertAction.h 331 B

123456789101112131415161718192021
  1. //
  2. // UIAlertView+Block.h
  3. //
  4. //
  5. // Created by lbxia on 15/10/27.
  6. // Copyright © 2015年 lbxia. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIAlertView (LBXAlertAction)
  10. // 用Block的方式回调,这时候会默认用self作为Delegate
  11. - (void)showWithBlock:(void(^)(NSInteger buttonIndex)) block;
  12. @end