Normally when implementing buttons in iOS, which needs rounded corners, we use the corner radius API to round the corners. In order to do this, you would need to calculate the height and then divide by a number you deem suitable. This is not always a suitable choice, since you would always need to fetch