1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // LBXPermissionSetting.h
- // Demo
- //
- // Created by lbx on 2017/12/8.
- // Copyright © 2017年 lbx. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- API_AVAILABLE(ios(8.0))
- @interface LBXPermissionSetting : NSObject
- #pragma mark- guide user to show App privacy setting
- /**
- show App privacy settings
- */
- + (void)displayAppPrivacySettings;
- /**
- show dialog to guide user to show App privacy setting
-
- @param title title
- @param message privacy message
- @param cancel cancel button text
- @param setting setting button text,if user tap this button ,will show App privacy setting
- */
- + (void)showAlertToDislayPrivacySettingWithTitle:(NSString*)title
- msg:(NSString*)message
- cancel:(NSString*)cancel
- setting:(NSString*)setting;
- /**
- show dialog to guide user to show App privacy setting
-
- @param title title
- @param message privacy message
- @param cancel cancel button text
- @param setting setting button text,if user tap this button ,will show App privacy setting
- @param completion user has been choosed
- */
- + (void)showAlertToDislayPrivacySettingWithTitle:(NSString*)title
- msg:(NSString*)message
- cancel:(NSString*)cancel
- setting:(NSString*)setting
- completion:(void(^)(void))completion;
- @end
|