You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the in-call status bar appears, it pushes the shadow view down as expected (like in a regular full-screen presented view controller), but when the in-call status bar disappears, the shadow view does not adjust itself to fill the screen again. This leaves a 20-point tall area at the top that is not covered by the shadow view.
When the in-call status bar is shown, the custom alert view is laid out correctly if you present it in either portrait or landscape orientation, but when you rotate the interface, it is not. It is either shifted 20 points up or down, depending on which interface orientation you start out with.
You can see these issues easily by laying out, say, four 20-point tall views abutting each other top-to-bottom at the top of the screen. Create one set for the ViewController and another for CustomAlertViewController. Then you can compare one set against the other to see what is shifted down when the in-call status bar is shown or hidden. (See the attached images.)
The text was updated successfully, but these errors were encountered:
One fix I found is to put constraints so that the "to" and "from" view controllers' views have matching center and bounds, but this causes other issues. First, the "to" view controller has to have no autoresizing flags to prevent an awful momentary layout glitch. Also, the "to" view controller needs to force layout in willAnimateRotation... to prevent a momentary glitch when rotating the interface with the in-call status bar showing (don't exactly know why this works). The last issue is that the layout does not animate smoothly when the in-call status bar disappears; I can't find a fix for this one.
When the in-call status bar appears, it pushes the shadow view down as expected (like in a regular full-screen presented view controller), but when the in-call status bar disappears, the shadow view does not adjust itself to fill the screen again. This leaves a 20-point tall area at the top that is not covered by the shadow view.
When the in-call status bar is shown, the custom alert view is laid out correctly if you present it in either portrait or landscape orientation, but when you rotate the interface, it is not. It is either shifted 20 points up or down, depending on which interface orientation you start out with.
You can see these issues easily by laying out, say, four 20-point tall views abutting each other top-to-bottom at the top of the screen. Create one set for the ViewController and another for CustomAlertViewController. Then you can compare one set against the other to see what is shifted down when the in-call status bar is shown or hidden. (See the attached images.)
The text was updated successfully, but these errors were encountered: