You do this by making an IBOutlet to a height constraint you made in IB (called heightCon in my example), and then animating its constant value,
[UIView animateWithDuration:.4 animations:^{
self.heightCon.constant = 315;
[self.view layoutIfNeeded];
}];