Skip to content
Mohammad Azmal Hossain edited this page Mar 5, 2017 · 1 revision
    let myView = UIView()
    myView.frame = CGRect(x: 100, y: 200, width: 100, height: 100)
    myView.backgroundColor=UIColor.green
    myView.layer.cornerRadius=5
    myView.layer.borderWidth=10
    self.view.addSubview(myView)
Clone this wiki locally