Quick Tip: Anchor Points and Rotating Views (Route 85)
Channel:
Subscribers:
2,510,000
Published on ● Video Link: https://www.youtube.com/watch?v=S-06Lb4znFs
Have you ever wanted to rotate a UIView around an aribtrary point in an iOS app? In this Route 85 Quick Tip, Todd shows you one weird trick to rotate a UIView around any point -- not just its center -- by changing its anchorPoint property, along with dealing with some of the weird side effects that show up along the way.
Watch more episodes of Route 85 here:
https://www.youtube.com/watch?v=weXOulIU9Rw&list=PLOU2XLYxmsIKGQekfmV0Qk52qLG5LU2jO
Subscribe to the Google Developers channel at http://goo.gl/mQyv5L
Other Videos By Google for Developers
Tags:
Google
developers
Quick Tip
rotation
views
anchor point
Objective-C
Swift
product: mobile
fullname: Todd Kerpelman
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production