Updated README and PODSPEC

This commit is contained in:
Andrew Walz 2017-01-15 17:17:42 -07:00
parent 67ff337423
commit 85fce5ec50
3 changed files with 16 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# CHANGELOG
## Version 2.1.0
- Added ability to change default camera orientation
- Added `defaultCamera` property
- Minor bug fixes
## Version 2.0.0
- Changed `SwiftyCamViewController` delegate function naming
- Changed `kMaximumVideoDuration` property to `maximumVideoDuration`

View file

@ -201,6 +201,16 @@ For front facing videos, a white, 85% opaque view will be placed over the video
## Switching Camera
By default, SwiftyCam will launch to the rear facing camera. This can be changed by changing the `defaultCamera` property in `viewDidLoad`:
```swift
override func viewDidLoad() {
super.viewDidLoad()
defaultCamera = .front
...
}
```
SwiftyCam supports capture from both the front and back cameras. To switch cameras, call the function:
```swift

View file

@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'SwiftyCam'
s.version = '2.0.0'
s.version = '2.1.0'
s.summary = 'A Simple, Snapchat inspired camera Framework written in Swift'
s.ios.deployment_target = '8.0'