Today a funny 😎 way to use device motion to move using the gravity the objects on your view controller, like this:
Read MoreSwift – Have fun with GravityBehavior and DynamicAnimator
![](<480:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?resize=150%2C150, <768:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?fit=300%2C236, >768:https://i0.wp.com/www.albertopasca.it/whiletrue/wp-content/uploads/2021/11/IMG_9113.jpg?fit=1024%2C805)
Today a funny 😎 way to use device motion to move using the gravity the objects on your view controller, like this:
Read MoreToday a funny article that use both UIDynamicAnimator and CMMotionManager!