If you create a 9-slice from a rounded rectangle you created on iOS, you need to take into account that the distance from the corner to the first axis-aligned control point is about 152.866% of the radius.

I found this value through some empirical computer science in a quick #SwiftUI preview.

Comments