I have a container view, @property (weak, nonatomic) IBOutlet UIView *containerView;
, but it won\'t move when I set its frame. Here is how I am trying:
The "frame" property of a view is used for layout. If you have layout your container view in the storyboard and wanna move it in code. Try the "transform" property. Such as, "self.containerView.transform = CGAffineTransformTranslate(self.containerView.transform, 0.0, 10.0);" => move up the container view for 10 points :)