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 -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -