Set the default value of useSafeAreaForBottomOffset to false

This commit is contained in:
seongho-hong
2019-08-12 12:35:50 +09:00
committed by seongho.hong
parent d9acef345b
commit 8607885ac5

View File

@@ -74,7 +74,8 @@ open class ToastView: UIView {
/// If this value is `true` and SafeArea is available,
/// `safeAreaInsets.bottom` will be added to the `bottomOffsetPortrait` and `bottomOffsetLandscape`.
@objc open dynamic var useSafeAreaForBottomOffset: Bool = true
/// Default value: false
@objc open dynamic var useSafeAreaForBottomOffset: Bool = false
/// The width ratio of toast view in window, specified as a value from 0.0 to 1.0.
/// Default value: 0.875