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

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

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -