Closed StackHelp closed 4 years ago
Right now I got the content like below using the custom nib. From the bottom it doesn't count for safe area space.
I want it to cover space from safe area like below image
Here is my code
let view: UndoPostView = try! SwiftMessages.viewFromNib() var config = SwiftMessages.defaultConfig config.presentationContext = .window(windowLevel: UIWindow.Level.statusBar) config.presentationStyle = .bottom config.duration = .seconds(seconds: 4) SwiftMessages.show(config: config, view: view)
Attach your nib file please
@wtmoose Hi I got it to work by changed bottom constraint to safe area instead it was attached with superview. Thanks for your time.
Right now I got the content like below using the custom nib. From the bottom it doesn't count for safe area space.
I want it to cover space from safe area like below image![Simulator Screen Shot - iPhone 11 - 2020-03-23 at 12 09 44](https://user-images.githubusercontent.com/41230403/77750172-59383200-7049-11ea-95b5-ede574b3a247.png)
Here is my code