1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGCameraFlashControl.h

21 lines
550 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <UIKit/UIKit.h>
#import "PGCamera.h"
@interface TGCameraFlashControl : UIControl
@property (nonatomic, assign) PGCameraFlashMode mode;
@property (nonatomic, assign) UIInterfaceOrientation interfaceOrientation;
@property (nonatomic, copy) void(^becameActive)(void);
@property (nonatomic, copy) void(^modeChanged)(PGCameraFlashMode mode);
- (void)setFlashUnavailable:(bool)unavailable;
- (void)setHidden:(bool)hidden animated:(bool)animated;
- (void)dismissAnimated:(bool)animated;
@end
extern const CGFloat TGCameraFlashControlHeight;