DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

Add property for corner radius value of all curved iOS devices

Open TimOliver opened this issue 2 years ago • 1 comments

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!

TimOliver avatar Jan 25 '23 13:01 TimOliver

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

Clem23 avatar Oct 11 '23 10:10 Clem23