I have a UIView with a bunch of subviews, all positioned using -layoutSubviews. When the view is resized, the relative positions all change. I'd like these re-calculations to happen during an animated resize (using +[UIView beginAnimations:] calls). This doesn't seem to be happening. Any ideas?
...
hi all,
i've create a UIButton subclass for my app and i need to manually reposition the titleLabel to be about 1/4 of the button's height. this post; http://forums.macrumors.com/showthread.php?t=763140 appears to directly address the same issue, and the solution is simple and perfectly understandable. however, i have failed to implemen...
When rotating a scroll view inside a UIView, the scroll view doesnt position correctly using its default autoresizing behaviour.
Thus, when rotation occurs, in willRotateToInterfaceOrientation i call [self.view setNeedsLayout]; and my layoutSubviews method is as follows:
- (void)layoutSubviews {
NSLog(@"here in layoutSubviews");
}...