session-ios/Signal/src/util/UIViewController+CameraPermissions.h
Michael Kirk b8fc4001ec Camera permission fixup
- remove unknown segue, otherwise couldn't compile project
- translated english strings
- added translation comments
- reused existing "dismiss" string
- deselected row after dismissing permissions alert in linked devices
  screen

// FREEBIE
2016-11-08 17:16:19 -05:00

18 lines
451 B
Objective-C

//
// 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;
@end
NS_ASSUME_NONNULL_END