Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #width #screen
ADD COMMENT
Topic
Name
5+3 =