Paul Hudson off Hacking with Swift allows us to simulate depth using SwiftUI.
Paul uses Core Motion, tracking the device's movement, to simulate a reflecting light source. Cool trick!
https://www.hackingwithswift.com/articles/253/how-to-use-inner-shadows-to-simulate-depth-with-swiftui-and-core-motion
No comments:
Post a Comment