 	public var captureDeviceBack: AVCaptureDevice?
 	private weak var stillImageOutput: AVCaptureStillImageOutput?
 	
-	public var currentOrientation = UIInterfaceOrientation.Portrait
+	public var contentView = UIView()
+	
+	public var originalOrientation = UIDevice.currentDevice().orientation
+	public var currentOrientation = UIDevice.currentDevice().orientation
 	public let motionManager = CMMotionManager()
 	
 	public lazy var flashButton: UIButton = {

		// Dispose of any resources that can be recreated.
	}
	
	public func setupDevices() {
		let devices = AVCaptureDevice.devicesWithMediaType(AVMediaTypeVideo) as! [AVCaptureDevice]
		

	}
	
	public let captureSession = AVCaptureSession()
	public var previewLayer: AVCaptureVideoPreviewLayer!
	private var beginZoomScale: CGFloat = 1.0
	private var zoomScale: CGFloat = 1.0
	
