I am facing an issue in implementing expandable banner on top like whatsapp do in profile screen. When user scroll image squeezes and convert into navigation bar. For that i have to set minimum height in my code but due to notch screen in iphone X and other new iphones it causing issue. Because old iphone doesnot have notch screen so there navigation bar height is less than new iphones?
So there is any way to find out the iphone is notch screen or normal type screen?