<commit_before># LLSimpleCamera: A simple customizable camera control

![Screenshot](https://raw.githubusercontent.com/omergul123/LLSimpleCamera/master/screenshot.png)

LLSimpleCamera is a library for creating a customized camera screens similar to snapchat's. You don't have to present the camera in a new view controller.

###LLSimpleCamera:###
* lets you easily capture photos
* handles the position and flash of the camera
* hides the nitty gritty details from the developer
* doesn't have to be presented in a new modal view controller, simply can be embedded inside any of your VCs. (like Snapchat)

#### Version 2.1.1
- freezing the screen just after the photo is taken for better user experience.

#### Version 2.1.0
- added an extra parameter exactSeenImage:(BOOL)exactSeenImage to -capture method to easily get the exact seen image on the screen instead of the raw uncropped image. The default value is NO.
- fixed an orientation bug inside capture method.

#### Version 2.0.0
Some significant changes have been made at both internal structure and  api.
- added tap to focus feature (it is fully customizable, if you don't like the default layer and animation)
- removed delegates and added blocks
- interface is significantly improved

#### Version 1.1.1
- fixed a potential crash scenario if -stop() is called multiple times

#### Version 1.1.0
- fixed a problem that sometimes caused a crash after capturing a photo.
- improved code structure, didChangeDevice delegate is now also triggered for the first default device.

## Install
<commit_msg>README update<commit_after># LLSimpleCamera: A simple customizable camera control

![Screenshot](https://raw.githubusercontent.com/omergul123/LLSimpleCamera/master/screenshot.png)

LLSimpleCamera is a library for creating a customized camera screens similar to snapchat's. You don't have to present the camera in a new view controller.

###LLSimpleCamera:###
* lets you easily capture photos
* handles the position and flash of the camera
* hides the nitty gritty details from the developer
* doesn't have to be presented in a new modal view controller, simply can be embedded inside any of your VCs. (like Snapchat)

#### Version 2.2.0
- camera permissions are supported, if the permission is not given by the user, onError will be triggered.
- camera flash methods are altered. Now you have to call **- (BOOL)updateFlashMode:(CameraFlash)cameraFlash;**
- cameraFlash and cameraPosition property names are simplified to: **flash** and **position**.
- added support for device orientation in case your vc orientation is locked but you want to use the device orientation no matter what.

#### Version 2.1.1
- freezing the screen just after the photo is taken for better user experience.

#### Version 2.1.0
- added an extra parameter exactSeenImage:(BOOL)exactSeenImage to -capture method to easily get the exact seen image on the screen instead of the raw uncropped image. The default value is NO.
- fixed an orientation bug inside capture method.

#### Version 2.0.0
Some significant changes have been made at both internal structure and  api.
- added tap to focus feature (it is fully customizable, if you don't like the default layer and animation)
- removed delegates and added blocks
- interface is significantly improved

#### Version 1.1.1
- fixed a potential crash scenario if -stop() is called multiple times

#### Version 1.1.0
- fixed a problem that sometimes caused a crash after capturing a photo.
- improved code structure, didChangeDevice delegate is now also triggered for the first default device.

## Install

{'fraction_non_alphanumeric': 0.06582984658298466, 'fraction_numerical': 0.010878661087866108, 'mean_word_length': 4.533950617283951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4452567', 'n_tokens_mistral': 924, 'n_tokens_neox': 870, 'n_words': 491}