I have a UIView inside a UIViewm and I want the inner UIView to be always centered inside the outer one, without it having to resize t
UIView
Using the same center in the view and subview is the simplest way of doing it. You can do something like this,
UIView *innerView = ....; innerView.view.center = self.view.center; [self.view addSubView:innerView];