Search code examples
iosautolayoutiphone-xsafearealayoutguide

IphoneX View hidden beside the Tabbar controller's tabbar


I have tabbar controller from one of the tab one view controller is pushed. in pushed view controller there is view (Camera) which is fixed height and with bottom with safearea.

This view is hidden beside the tabbar in iPhone X but with other device it is correctly visible.

Please suggest solution Thanks in advance

Here is constraint

enter image description here

in Iphone 6

enter image description here

in Iphone X See the camera view is hidden

enter image description here


Solution

  • I managed to solve this issue by uncheck under bottom bar of view controller.

    enter image description here

    It is strange that with that checkbox checked issue occurs only in iPhone X device

    Hopefully helpful to someone

    enter image description here