I have in a ViewController tableView with the identifier \"Cell\". This is my code:
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSInd
You cannot change an attribute of the frame property of any view. You have to provide a totally new frame.
cell.imageView?.frame.size.width = 100 //wont work
Try doing this -
let rect = cell.imageView?.frame; rect.size.width = 100; cell.imageView?.frame = rect; //this will work