I added a CAGradientLayer on my UIImageView. I\'ve set the autoresizing mask on the UIImageView to be flexible all across border (flexible height, width..etc). However the grad
CALayer does not support auto resizing on iOS. You must implement your resizing manually in layoutSubviews or wherever appropriate.