i tried to change the width of my Image view to 20 @IBOutlet weak var image: UIImageView! using this code in viewDidLoad self.image.frame.width = 20
@IBOutlet weak var image: UIImageView!
self.image.frame.width = 20
Swift:
let widthValue = self.view.frame.size.width self.btnName.frame.size.width = widthValue self.txtEMail.frame.size.width = (widthValue - 32) self.lblUserName.frame.size.width = (widthValue * 2)