forked from omergul/LLSimpleCamera
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLLSimpleCameraPickerVC.h
More file actions
43 lines (31 loc) · 1.39 KB
/
LLSimpleCameraPickerVC.h
File metadata and controls
43 lines (31 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// HomeViewController.h
// LLSimpleCameraExample
//
// Created by Ömer Faruk Gül on 29/10/14.
// Copyright (c) 2014 Ömer Faruk Gül. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LLSimpleCamera.h"
@class LLSimpleCameraPickerVC;
@protocol LLSimpleCameraPickerVCDelegate<NSObject>
- (void)imagePickerController:(LLSimpleCameraPickerVC *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info;
- (void)imagePickerControllerDidCancel:(LLSimpleCameraPickerVC *)picker;
- (void)imagePickerControllerAlbumsPressed:(LLSimpleCameraPickerVC *)picker;
@end
@interface LLSimpleCameraPickerVC : UIViewController
@property (strong, nonatomic) IBOutlet UIButton *snapButton;
@property (strong, nonatomic) IBOutlet UIButton *switchButton;
@property (strong, nonatomic) IBOutlet UIButton *closeButton;
@property (strong, nonatomic) IBOutlet UIButton *albumsButton;
@property (strong, nonatomic) IBOutlet UIButton *flashButton;
- (IBAction)snapButtonPressed:(id)sender;
- (IBAction)switchButtonPressed:(id)sender;
- (IBAction)flashButtonPressed:(id)sender;
- (IBAction)closeButtonPressed:(id)sender;
- (IBAction)albumsButtonPressed:(id)sender;
@property (strong, nonatomic) LLSimpleCamera *camera;
@property (nonatomic, weak) IBOutlet id<LLSimpleCameraPickerVCDelegate> delegate;
@property (nonatomic, assign) BOOL showAlbumsButton;
@property (nonatomic, assign) BOOL frontCameraYieldsMirrorImage;
@end