For positioning an element random in the screen but within the boundarys I need the resolution/screen size in swift. I already fount out how to get it with CGGraphics. Unfortunately I have to calculate a bit and need it as type For positioning an element random in the screen