How In-Call status bar impacts UIViewController’s view size?

The height of the view when the In-call status bar is toggled depends on the way it’s anchored.

Play around with the autoResizingMask of the UIView to control whether the view should move down or resize when the in-call status bar shows up.

These two properties,

UIViewAutoresizingFlexibleTopMargin
UIViewAutoresizingFlexibleHeight  

will help you. The first one pushes the view down, the second one changes the size.

Leave a Comment