With the iPhone 6S and iPhone 6S Plus Apple added a feature called 3D Touch. Using 3D Touch, the iPhone can detect how much pressure is applied to the screen.
This could be useful for any type of functionality that requires varying degrees of input. For example: increasing a character’s jump height, or increasing a weapon’s speed depending on how much pressure is applied.
This tutorial will show you how to build a simple force meter in your SpriteKit game to detect how much pressure the user has applied to the screen, and display it via a HUD element.