Swift получить размер экрана устройства

let screenSize: CGRect = UIScreen.main.bounds
Mobile Star