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

Add Try/Catch wrapper around iOS StatusBar rendering #6201

Merged

Conversation

drasticactions
Copy link
Contributor

Description of Change

"Fixes" #5693

This adds a try/catch wrapper around getting the status bar for the Window on iOS. The original obj/c error will still throw, but it will still let us render the screen with the status bar hidden.

We need a longer term task to add better error handling in here (since I don't believe there is a logger available here in Essentials).

スクリーンショット 2022-04-18 午後4 22 38

Copy link
Member

@mattleibow mattleibow left a comment

Choose a reason for hiding this comment

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

Close your eyes and it didn't happen 🤗

@mattleibow
Copy link
Member

Could you create a new issue and add it to the 6.0.300 milestone.

@drasticactions
Copy link
Contributor Author

drasticactions commented Apr 18, 2022

Could you create a new issue and add it to the 6.0.300 milestone.

#6203,

Assigned to me for now, I think I have an idea of how to fix this properly, but this will at least stop it throwing and give us more time to get it implemented (with proper tests!)

@drasticactions drasticactions merged commit 3243e48 into dotnet:main Apr 18, 2022
@drasticactions drasticactions deleted the dev/timill/ios-screenshot-fix branch April 18, 2022 21:56
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partner/ui-tools .NET UI Tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants