No instruction given for implementing a swipe gesture to call the func applyForceToRocketship(withGestureRecognizer recognizer: UIGestureRecognizer) method.
There is an example later in the chapter and in the final code sample but if you are a newer iOS Dev and looking for clearer guidance.
Create this method:
No instruction given for implementing a swipe gesture to call the
func applyForceToRocketship(withGestureRecognizer recognizer: UIGestureRecognizer)
method.There is an example later in the chapter and in the final code sample but if you are a newer iOS Dev and looking for clearer guidance. Create this method:
Call this method in
override func viewDidLoad()
afteraddTapGestureToSceneView()
is called. Build and swipe up! 🚀