I created a circular button in my iOS app and after changing the auto layout width and height constraints (so that the button is bigger) it is now a rounded rectangle instead of
Auto Layout happens after viewDidLoad, so you need to move your adjustment to viewDidLayoutSubviews so that the frame size will be set to the correct size.