SwiftKickMobile / SwiftMessages

A very flexible message bar for UIKit and SwiftUI.
MIT License
7.32k stars 746 forks source link

SwiftMessageSegue: rotation glitch #421

Open giofid opened 4 years ago

giofid commented 4 years ago

Hi @wtmoose, in my app I have to show a custom view controller at center of the screen as a modal alert. I would like to use once again your excellent library, in particular the SwiftMessagesSegue custom modal segue.

During the screen rotation, I noticed an ugly animation. You can see it in the Demo app: I attach a gif to better describe what I mean. In short, the tableview's width suddenly decreases when rotation starts.

SwiftMessageSegue

However, when I present a "classic" swift-message there are no problems.

classic

I tried to see in the code and play with constraints, but with no luck.

Any idea why it happens?

wtmoose commented 3 years ago

Seems like this broke with Xcode 12. I spent a few hours on it and still don't have a fix. Not sure when I'll have more time to work on it.