A flexible and easy to use Snackbar control for iOS.
Add support for safeAreaInsets
, this guarantees that the snack will be placed within the correct frame, which fixes support for iPhone X.
To add support for safeAreaInsets
, a new property adjustsPositionForSafeArea
was added. With this set to true
the snack will adjust it's position to fit within the correct frame.
Updated example project
LPSnackbar
, the initializers no longer take a displayDuration
.displayDuration
member from LPSnackbar
.displayDuration
parameter to the show()
method, works the same as before, but it is now in a more general place as display duration may now change whenever you present the snack.