Working with UIImage
Revision as of 21:54, 16 October 2021 by PeterHarding (talk | contribs) (Created page with "In the target view: <pre> var imageView : UIImageView imageView = UIImageView(frame:CGRectMake(0, 0, 100, 200)); imageView.image = UIImage(named:"image.png") self.vie...")
In the target view:
var imageView : UIImageView imageView = UIImageView(frame:CGRectMake(0, 0, 100, 200)); imageView.image = UIImage(named:"image.png") self.view.addSubview(imageView)