Advertisement
neatekFb

Rotate ImageView Swift 3

Nov 4th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.20 KB | None | 0 0
  1. // Vladimir Zhelnov - neatek.pw - Web/iOS dev
  2. let degrees:CGFloat = 90
  3. Rightbottom.transform = CGAffineTransform(rotationAngle: degrees * CGFloat(M_PI/180) )
  4. // where Rightbottom is ImageView @IBOutlet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement