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 property for corner radius value of all curved iOS devices #349

Open
TimOliver opened this issue Jan 25, 2023 · 1 comment
Open

Add property for corner radius value of all curved iOS devices #349

TimOliver opened this issue Jan 25, 2023 · 1 comment

Comments

@TimOliver
Copy link

Hey folks!

I'm really digging this library! Fantastic work!

I have an idea for a feature. I'm happy to file a PR myself, but I thought I'd ask if it's a good idea first.

A lot of iOS' system level UI components round their UI to match the physical curve of notched/Dynamic Island screens. While accessing the corner radius of the screen is possible via a private API, this library looks like a great way to expose that information in a more "legal" way. :)

Would anyone be interested if I filed a PR to add the corner radius value of all of the rounded iOS devices? :)

Thanks!

@Clem23
Copy link

Clem23 commented Oct 11, 2023

It would be so great to have an hardcoded value for each devices!

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

No branches or pull requests

2 participants