0

At the moment the UIView is set to scale to fit. Is there any way of setting it to fill the whole element and set it to centre?

1 Answers1

0

There is a content scale mode called aspect fill maybe does what you want.

Cram Pisam
  • 120
  • 1
  • 8
  • For some reason that makes the image appear outside its defined UIimage boundary. Like cover in css, I want the image to stay proportioned but fill the div its in. – Vin O'Brien Sep 27 '12 at 14:48
  • AH HA! the clip subviews was unchecked. Working now! Thanks for bringing me back to the origin though Cram. – Vin O'Brien Sep 27 '12 at 14:55