Skip to content

Commit

Permalink
Remove video by default to be smooth with earlier versions
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Feb 8, 2018
1 parent 3ac5cc3 commit c68f15f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Configuration/YPImagePickerConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public struct YPImagePickerConfiguration {

/// Defines which screens are shown at launch, and their order.
/// Default value is `[.library, .photo, .video]`
public var screens: [YPPickerScreen] = [.library, .photo, .video]
public var screens: [YPPickerScreen] = [.library, .photo]

/// Defines the time limit for recording videos.
/// Default is 30 seconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ViewController: UIViewController {
// config.shouldSaveNewPicturesToAlbum = true
config.videoCompression = AVAssetExportPresetHighestQuality
config.albumName = "MyGreatAppName"
config.screens = [.photo, .library] // customize screens and their order here.
config.screens = [.library, .photo, .video] // customize screens and their order here.
config.startOnScreen = .library
// config.videoRecordingTimeLimit = 10
// config.videoFromLibraryTimeLimit = 10
Expand Down

0 comments on commit c68f15f

Please sign in to comment.