I want to open custom popup view(designed in XIB) which is displaying from bottom but rightnow in iPhoneX simulator, it displayed from bottom of the screen. i want to open popup in safe area.
Result in iPhone-X
And XIB Layout with constraints.
Solution in simple words: Remove bottom constraint with superview and attach it (bottom constraint) with bottom (anchor) layout constraint of 'Safe Area'
Follow these steps to find solution:
Look at this snapshot:
Here is result:
Update:
Here is same result with XIB also. I don't see any problem with XIB here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With