SwiftMessages icon indicating copy to clipboard operation
SwiftMessages copied to clipboard

SwiftMessageSegue: rotation glitch

Open giofid opened this issue 5 years ago • 1 comments

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?

giofid avatar Sep 29 '20 08:09 giofid

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.

wtmoose avatar Oct 25 '20 21:10 wtmoose