in-call

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

北慕城南 提交于 2019-11-26 16:14:35
问题 I'm trying to understand how the view associated to a UITabBarController , UINavigationController or UIViewController reacts when the in-call status bar is toggled. My trouble is that they seem to behave differently and this causes me side effects. I've made a project that changes the root view controller of the window for the 3 types above and I dump the description of the view to get the frame coordinates. UIViewController inCall status OFF : UIView: 0x4e2a1f0; frame = (0 20; 320 460);

UIViewController In-Call Status Bar Issue

主宰稳场 提交于 2019-11-26 12:45:37
问题 Issue: Modally presented view controller does not move back up after in-call status bar disappears, leaving 20px empty/transparent space at the top. Normal : No Issues In-Call : No Issues After In-Call Disappears: Leaves a 20px high empty/transparent space at top revealing orange view below. However the status bar is still present over the transparent area. Navigation Bar also leaves space for status bar, its\' just 20px too low in placement. iOS 10 based Modally presented view controller