cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 463 forks source link

fix iPhone X incompatible bug. #227

Open wangruofeng opened 6 years ago

wangruofeng commented 6 years ago

add iPhone X compatible support.

soleares commented 6 years ago

Would recommend we make this not iPhoneX specific and if it's iOS 11 use the view's safeAreaInsets property.

DamascenoRafael commented 6 years ago

Any progress with this implementation? It would be nice to see this available since many developers are updating their apps for iOS 11 and the iPhone X.

wangruofeng commented 5 years ago

add iPhone X series(include iPhoneX, iPhone XR, iPhone XS, iPhone XS MAX) compatible support.