Answers for "label in label swift programmatically"

0

swift create label programmatically

let label = UILabel(frame: CGRect(x: 0, y: 0, width: 200, height: 21))
label.center = CGPoint(x: 160, y: 285)
label.textAlignment = .center
label.text = "I'm a test label"
self.view.addSubview(label)
Posted by: Guest on May-21-2020

Code answers related to "label in label swift programmatically"

Code answers related to "Swift"

Browse Popular Code Answers by Language