Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notch updates #55

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Notch updates #55

merged 2 commits into from
Mar 24, 2022

Conversation

avicks
Copy link
Contributor

@avicks avicks commented Mar 5, 2022

  • Update the camera preview and overlay UI to account for iOS devices with the notch. Use safeAreaInsets where possible.

Pivotal Tracker tickets

(link to all relevant Pivotal Tracker tickets)

Screenshots

(if the changes are visual, provide screenshots with brief descriptions)

Use safeAreaInsets when possible, otherwise update frames manually.
Copy link
Member

@litso litso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Sorry for the delay in reviewing, usually we try to turn around a pr in less than 2 days)
Nice cleanup Alex, just one comment.
@jbrophy17 can show you how to release a new version of TiltUp when you are ready.

@@ -245,7 +245,7 @@ final class CameraOverlayView: UIView {
return outerStackView
}()

private lazy var previewImageView: UIImageView = {
public lazy var previewImageView: UIImageView = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this change needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, its now used to set the previewView frame in the CameraController

@avicks avicks merged commit 26b383d into master Mar 24, 2022
@avicks avicks deleted the notch-updates branch March 24, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants