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
Post a Comment