Skip to content

Commit

Permalink
Merge pull request #25 from enebin/release/0.4.1
Browse files Browse the repository at this point in the history
release/0.4.1
  • Loading branch information
enebin authored Nov 18, 2023
2 parents fd108f0 + 062ee46 commit a48ff8c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Demo/Aespa-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -356,8 +356,8 @@
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,9 @@ let aespaSession = Aespa.session(with: aespaOption)
``` Swift
// Common setting
aespaSession
.autofocusing(mode: .continuousAutoFocus)
.focus(mode: .continuousAutoFocus)
.orientation(to: .portrait)
.quality(to: .high)
.customize(WideColorCameraTuner())

// Photo-only setting
aespaSession
Expand Down
6 changes: 3 additions & 3 deletions Sources/Aespa/AespaOption.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ public extension AespaOption {
/// such as automatic video orientation.
struct Session {
/// A Boolean value that determines whether video orientation should be automatic.
var autoVideoOrientationEnabled: Bool = true
public var autoVideoOrientationEnabled: Bool = true
/// An `AVCaptureDevice.DeviceType` value that determines camera device.
/// If not specified, the device is automatically selected.
var cameraDevicePreference: AVCaptureDevice.DeviceType?
public var cameraDevicePreference: AVCaptureDevice.DeviceType?
}

/// `Log` provides an option for enabling or disabling logging.
struct Log {
var loggingEnabled: Bool = true
public var loggingEnabled: Bool = true
}
}

Expand Down

0 comments on commit a48ff8c

Please sign in to comment.