xcode - Swift: Creating Edges Around Button And Adding Text -



xcode - Swift: Creating Edges Around Button And Adding Text -

i trying turn rectangular button sort of oval getting edges on it. there anyway programatically through swift?

also, there way add together string or text button? appreciate it, still getting used programming swift.

thanks

you need utilize quartzcore , layer property accomplish this. eg -

import quartzcore allow myview = uiview(frame: cgrectmake(0, 0, 55, 55)) myview.layer.cornerradius = 5.0 myview.clipstobounds = true

you can add together in viewdidload function. seek it

xcode swift

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -