I have a CAGradientLayer which is added to a UIVIew, when I rotate the device the view that it is added to increases in size (with autolayout) however
CAGradientLayer
UIVIew
You could override - (void)layoutSubviews in your UIView subclass and then update the layers frame.
- (void)layoutSubviews