I am making a game with swift in sprite kit and I can't figure out how to control the sprite with it. Does anybody know how to do this?
Accelerometer In Sprite Kit
Check out the Core Motion framework for everything you need to respond to device motion. The Event Handling Guide for iOS includes a chapter on Core Motion:
Here's the Core Motion framework reference: