//
//  LTPermission.h
//  LTUtility
//
//  Created by 孙泉 on 2018/1/16.
//  Copyright © 2018年 longtugame. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, LTPermissionType)
{
    LTPermissionTypeCamera
};

@interface LTPermission : NSObject

/**
 是否允许授权
 */
+ (BOOL)isPermissionAuthorized:(LTPermissionType)type;

/**
 提示授权
 */
+ (void)authorizePermission:(LTPermissionType)type
                 completion:(void(^)(void))completion;

@end
