![curve radius vinylmaster pro curve radius vinylmaster pro](https://s1.manualzz.com/store/data/011290989_1-daf42f7280fce01aad6779049c2881c7.png)
But there was one more missing piece: the iPhone X doesn’t have a perfectly circular path like you’ll find in most rounded rects (including CGPath). I decided the only option was to build an app that let me customize the corner radius, run it on my iPhone X, and settle this with my own experimentation.
![curve radius vinylmaster pro curve radius vinylmaster pro](https://s3.manualzz.com/store/data/027035981_1-c618e1d3a28b732b7f2fe199802e4f93-360x466.png)
Unfortunately there was no definitive answer - PaintCode claims the display has a radius of 40 pt, while Max Rudberg says “…the number 44 pt is found once again in the screen’s corner radius” in this blog post about iPhone X UI design. Since one of Lyft’s core values is Make it Happen, I set out to do the same in the Lyft app □ I figured this would be pretty easy with a rounded rect CGPath, so I did some quick research on the corner radius of the iPhone X display. Your browser does not support the video tag. Notice how the corner radius animates to match the display, rather than extending outside the edges: This looks a little strange because it doesn’t match the shape of the screen why is there even UI there? In fact, Apple often masks views to fit into the corner on iPhone X, such as in the app switcher and Safari tab UI. Something that has bothered me about the Lyft app since switching to an iPhone X is that the receding view behind the side menu has square corners:
#Curve radius vinylmaster pro pro#
IPhone X / Xs / Xs Max / 11 Pro / 11 Pro Max Here’s the values reported by iOS - turns out that as far back as the iPhone Xr, we had multiple values! Device Justification in the readme, and I don’t think it’ll flag App Review, but use at your own risk!) (Warning: this package does use the private API. This is all wrapped up nicely in my ScreenCorners Swift Package/cocoapod - just add the dependency and use 圜ornerRadius. With some of the new iPads, iPhone 12, 12 mini and 12 Pro Max all having different corner radii, I finally poked around to find a private API that reports the value iOS is using.