I am programatically creating views, when I add a button with a title all I see is some text and a clear background. Is there a way to get a default looking button with rounded corners, borders, and pressed states without having to specific every property manually?
If the latter is the case, is there a style guide somewhere so I can get default-look buttons?
Try this:
Here’s what each line does:
UIButtonTypeCustom,UIButtonTypeDetailDisclosure,UIButtonTypeInfoLight,UIButtonTypeInfoDark,UIButtonTypeContactAdd.The button will look like this: