Closed vivek4292 closed 4 years ago
What is the problem?
This is how it's being displayed with your latest release. Before that it was like in below screenshot.
Did no changes in code at all. Just using your latest release and this happened.
Gotcha. The design was changed for iPad because the card spanning the full width on iPad isn't a good design.
If you want a different design, copy CardView.xib
into your project and modify it. What you'd want to do is remove the constraint overrides for regular size class on the CornerRoundingView
.
How can I use full width bottom card using 7.0.1 version. Here is my code.
var config = SwiftMessages.defaultConfig config.presentationStyle = .bottom config.duration = .forever config.dimMode = .none config.interactiveHide = false let view = MessageView.viewFromNib(layout: .cardView) view.configureTheme(theme, iconStyle: .default) SwiftMessages.show(config: config, view: view)