From 8a00be9978b051b344af46bd9ac0e25fe0edd174 Mon Sep 17 00:00:00 2001 From: Isaac Rosenberg Date: Wed, 6 Apr 2016 15:33:22 -0700 Subject: [PATCH] expose AVCaptureVideoPreviewLayer as a public property --- LLSimpleCamera/LLSimpleCamera.h | 2 ++ LLSimpleCamera/LLSimpleCamera.m | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/LLSimpleCamera/LLSimpleCamera.h b/LLSimpleCamera/LLSimpleCamera.h index ac25bcd..b082e5a 100644 --- a/LLSimpleCamera/LLSimpleCamera.h +++ b/LLSimpleCamera/LLSimpleCamera.h @@ -38,6 +38,8 @@ typedef enum : NSUInteger { @interface LLSimpleCamera : UIViewController +@property (strong, nonatomic) AVCaptureVideoPreviewLayer *captureVideoPreviewLayer; + /** * Triggered on device change. */ diff --git a/LLSimpleCamera/LLSimpleCamera.m b/LLSimpleCamera/LLSimpleCamera.m index 31a61e8..1c90b25 100644 --- a/LLSimpleCamera/LLSimpleCamera.m +++ b/LLSimpleCamera/LLSimpleCamera.m @@ -18,7 +18,6 @@ @interface LLSimpleCamera ()