Skip to content

Commit

Permalink
Bumped version to 4.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglong15 committed Oct 7, 2021
1 parent 5b3e371 commit d8fc327
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Sources/Camera/ZLCustomCamera.swift
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ public class ZLCustomCamera: UIViewController, CAAnimationDelegate {
try AVAudioSession.sharedInstance().setCategory(.playAndRecord, mode: .videoRecording, options: .mixWithOthers)
try AVAudioSession.sharedInstance().setActive(true, options: .notifyOthersOnDeactivation)
} catch {
if (error as NSError).code == AVAudioSession.ErrorCode.insufficientPriority.rawValue {
let err = error as NSError
if err.code == AVAudioSession.ErrorCode.insufficientPriority.rawValue ||
err.code == AVAudioSession.ErrorCode.isBusy.rawValue {
self.microPhontIsAvailable = false
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Edit/ZLFilter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public typealias ZLFilterApplierType = ((_ image: UIImage) -> UIImage)

public class ZLFilter: NSObject {

let name: String
public var name: String

let applier: ZLFilterApplierType?

Expand Down
2 changes: 1 addition & 1 deletion ZLPhotoBrowser.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Pod::Spec.new do |s|
s.swift_versions = ['5.0', '5.1', '5.2']

s.requires_arc = true
s.frameworks = 'UIKit','Photos','PhotosUI','AVFoundation','CoreMotion', 'Accelerate', 'CallKit'
s.frameworks = 'UIKit','Photos','PhotosUI','AVFoundation','CoreMotion', 'Accelerate'

s.resources = 'Sources/*.{png,bundle}'

Expand Down

0 comments on commit d8fc327

Please sign in to comment.