tags:

views:

27

answers:

0

I have a tableview that displays the properties of an item (a NSManagedObject). I have a toolbar button that allows the user to add a photo to the Item, which is then displayed in the tableView. I have the cell's imageView formatted to scale the image to fill the imageview using UIViewContentModeScaleToFill.

The problem is that the image is not scaled to fill it's view until I exit the app, relaunch, and return to the item's tableView. When I return to the tableView from the photoPicker after choosing a photo, the image is displayed, but is scaled to fit while maintaining it's aspect.

How do I force the image to be properly scaled to fill when I reload the table data on return from the photoPicker?

Thanks

Jk