why I see white white area in the bottom of my iPhoneX simulator?

前端 未结 1 783
深忆病人
深忆病人 2021-01-22 01:46

I have read some answer in the stackoverflow like this one Seeing black bars at the top and bottom of the iPhone X Simulator , but it seems little bit different since my issue o

1条回答
  •  有刺的猬
    2021-01-22 02:53

    Remove align bottom to Safe Area and add Bottom Space to super View (attach bottom space to superview, similar to your top space - is attached with superview)

    (Also, set align bottom to Safe Area for your label containing text "Please contact IT support")

    Update:

    This is a kind of patch solution to your problem. You should actually set Layer outside your safe area layout (Set all anchors of Layer 1357 with respect to super view) and add additional transparent view (UIView) attached with (all anchors) Safe Area layout, containing all other UIElements, to handle it very easily.

    0 讨论(0)
提交回复
热议问题