Answers for "swiftui get device screen size"

1

swiftui width screen

extension UIScreen{
   static let screenWidth = UIScreen.main.bounds.size.width
   static let screenHeight = UIScreen.main.bounds.size.height
   static let screenSize = UIScreen.main.bounds.size
}
Posted by: Guest on May-27-2021
3

swift get device screen size

let screenSize: CGRect = UIScreen.main.bounds
Posted by: Guest on March-02-2020

Code answers related to "swiftui get device screen size"

Code answers related to "Swift"

Browse Popular Code Answers by Language