Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift get a rectangle centered

let frameSize: CGPoint = CGPoint(x: UIScreen.main.bounds.size.width*0.5,y: UIScreen.main.bounds.size.height*0.5)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #rectangle #centered
ADD COMMENT
Topic
Name
1+8 =