I am using a UILabel view and I have set the corner radius of it so as to make it rounded using runtime attributes.
This is how it appears on iOS 16.x or below (any iOS 16 or below).
and this is how it looks on iOS 17 Beta.
The dot appears like a square. no idea how to fix this.
Tested on multiple devices and the square issue only appears on iOS 17 Beta.
Put this after creating the corner radius:
label.layer.masksToBounds = true