Hey. Hi. I assigned a corner radius of 30 to my uibutton with this code:
startButton.layer.cornerRadius = 30
So far it looks very good on an iphone 13 pro max, but only there. So my question is: How can I create a corner radius that has the same proportions on all iphones? So looks good everywhere? (My button changes heigh depending on the heigh of the user's device:)
stackView1.heightAnchor.constraint(equalToConstant: height * 0.065).isActive = true
Can somebody help me with it? Greetings