Answers for "how to get width of screen swift"

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

Code answers related to "Swift"

Browse Popular Code Answers by Language