SpriteKit: touchesEnded/ mouseUp sent to released object
问题 I have the problem that touchesEnded (on iOS) or mouseUp (on macOS) is still called on released objects when the touch/click was started before the release. This behavior is causing crashes in my project. I made a stripped down program with SceneKit and a SpriteKit overlay but I am not sure what I am doing wrong. I've started with the SceneKit game template (iOS or macOS) and I've added two classes: In GameViewController.m at the end of -(void)awakeFromNib I added this: OverlayScene *overlay=