I can't seem to find anywhere how to implement a camera pinch to zoom in SpriteKit.
In my GameScene I can seem to run a zoom in action on the camera with:
let cameraNode = SKCameraNode()
cameraNode.position = CGPoint(x: self.frame.midX, y: self.frame.midY)
addChild(cameraNode)
camera = cameraNode
let zoomInAction = SKAction.scale(to: 0.5, duration: 1)
cameraNode.run(zoomInAction)
But I can't seem to figure out how to translate this to a pinch to zoom feature