GitYourFeedback icon indicating copy to clipboard operation
GitYourFeedback copied to clipboard

Presenting the Feedback UI from any UIAlertController repositions the alert

Open gabek opened this issue 9 years ago • 0 comments

This seems to be an iOS bug. If you present a VC from a UIAlertController it actually repositions the alert controller, breaking it. When you leave the feedback UI you find the last screen you were on in a broken state.

Why are we presenting from a UIAlertController at all, you ask? We present from whatever the topmost view controller is, in order for the Feedback UI to get displayed. It doesn't know, nor care, that it's an alert controller specifically.

I wonder if there's a presentation context tweak that can be done to fix this, or something?

image

gabek avatar Oct 26 '16 02:10 gabek