Open kentcb opened 6 years ago
Hi so I can see this happening indeed. I was hoping this was related to the indeterminate rotation state iOS can get itself into but that doesn't seem to be the case.
I was able to reproduce it. @samhouts any progress on fixing this?
@kentcb @dmitrevski Any workarounds for this issue? thanks
NOTE: I am not certain that this is an XF issue, but it feels like it to me. It may also be a general iOS issue. I'd welcome any guidance from the Xamarin team either way.
Description
If a
MediaPickerController
is displayed after a call toDisplayAlert
(orDisplayActionSheet
) then orientation changes within the controller cause the UI to go wonky.Here's an example of things working correctly:
Notice the UI for taking a photo/cancelling looks fine, even though I'd reoriented the camera several times before this shot.
Here's an example of it going awry (after
DisplayAlert
has been called):The UI is completely missing (black) and therefore unusable.
Steps to Reproduce
Expected Behavior
The UI should behave correctly, without being cut off due to an orientation mismatch.
Actual Behavior
The UI does not always respond correctly to the orientation change.
Basic Information
3.1.0.637273
11.4
Xam.Plugin.Media
4.0.1.4-beta
Screenshots
Please see screenshots above.
Reproduction Link
Repro solution