mirror of
https://github.com/samsonjs/SwiftyCam.git
synced 2026-04-27 15:07:43 +00:00
Updated README and PODSPEC
This commit is contained in:
parent
67ff337423
commit
85fce5ec50
3 changed files with 16 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## Version 2.1.0
|
||||||
|
- Added ability to change default camera orientation
|
||||||
|
- Added `defaultCamera` property
|
||||||
|
- Minor bug fixes
|
||||||
|
|
||||||
## Version 2.0.0
|
## Version 2.0.0
|
||||||
- Changed `SwiftyCamViewController` delegate function naming
|
- Changed `SwiftyCamViewController` delegate function naming
|
||||||
- Changed `kMaximumVideoDuration` property to `maximumVideoDuration`
|
- Changed `kMaximumVideoDuration` property to `maximumVideoDuration`
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -201,6 +201,16 @@ For front facing videos, a white, 85% opaque view will be placed over the video
|
||||||
|
|
||||||
## Switching Camera
|
## 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:
|
SwiftyCam supports capture from both the front and back cameras. To switch cameras, call the function:
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'SwiftyCam'
|
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.summary = 'A Simple, Snapchat inspired camera Framework written in Swift'
|
||||||
s.ios.deployment_target = '8.0'
|
s.ios.deployment_target = '8.0'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue