romansorochak / ParallaxHeader

Simple way to add parallax header to UIScrollView/UITableView written in Swift.
MIT License
1.03k stars 131 forks source link

Change to adjustedContentInset on device with 11.0 available #27

Open tokijh opened 6 years ago

tokijh commented 6 years ago

I recommend using adjustedContentInset instead of contentInset for the following case, like iPhone X device.

ezgif-5-2f55997ee7

This is patched image. ezgif-5-c976c8f23a