New course! Every coder should learn Generative AI!
Try a free lesson+ 5
You can go to main.storyboard and drag drop a button from the library in your app, and then just change its properties according to your choice through property inspector.
You can search YouTube for better explanation about how to make UI in swift.