session-ios/Signal/src/util/UIViewController+CameraPermissions.h

18 lines
451 B
C
Raw Normal View History

2016-11-04 23:41:37 +01:00
//
// UIViewController+CameraPermissions.h
// Signal
//
// Created by Jarosław Pawlak on 18.10.2016.
// Copyright © 2016 Open Whisper Systems. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIViewController (CameraPermissions)
- (void)ows_askForCameraPermissions:(void (^)())permissionsGrantedCallback
alertActionHandler:(nullable void (^)())alertActionHandler;
2016-11-04 23:41:37 +01:00
@end
NS_ASSUME_NONNULL_END