Unable to resize view in xcode

前端 未结 3 686
感情败类
感情败类 2021-01-24 07:00

I can\'t seem to resize my view to fill the screen in the simulator (see screenshot below - notice the top and bottom black lines) does anyone know how i fix this?

3条回答
  •  孤城傲影
    2021-01-24 07:29

    Please use the AutoLayout and set the Top and Bottom of your view to have zero distance w.r.t the Top Layout and Bottom Layout. Similarly also set the X coordinate of your view using the Autolayout.

    Thanks

提交回复
热议问题