Using SpriteKit inside UIKit
问题 I am contemplating a simple app that has four characters that you can drag around on the screen. While dragging they "wiggle" — that's the animation. And they snap to a position if they get close enough to it... like in a puzzle. Without the animation, this is all simple in UIKit. My first thought is to render each character in its own SKView inside a plain old UIView . I could attach UIGestureRecognizers to each SKView to track tapping and dragging. But I think this implies individual