How to autoresize view

Hello, I am trying to build my playground and now when I try to run the app, I get the skView and scene dont match the live view size. How to fix this so that my skView and scene are matching to the liveView frame on any device/iPad! Please urgent help required!

How to autoresize view
 
 
Q