//
//  LTNativeAlert.h
//  LTUtility
//
//  Created by 孙泉 on 2018/5/17.
//  Copyright © 2018年 longtugame. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^LTNativeAlertClick)(NSInteger index);

@interface LTNativeAlert : NSObject

/**
 显示提示框

 @param title 标题
 @param message 内容
 @param buttons 按钮(第一个为取消按钮)
 @param click 点击回调
 */
+ (void)showAlertTitle:(NSString *)title
               message:(NSString *)message
               buttons:(NSArray<NSString *> *)buttons
                 click:(LTNativeAlertClick)click;

@end
