且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将 SpriteKit 视图集成到 xib 视图中

更新时间:2023-11-17 17:38:10

我不知道你到底想要实现什么,但我认为你可能想查看提供物理相关功能和视图和其他动态项目的动画".我建议你先看看苹果文档https://developer.apple.com/library/ios/samplecode/DynamicsCatalog/Introduction/Intro.html然后raywenderlich.com 上的一个非常好的教程http://www.raywenderlich.com/50197/uikit-dynamics-tutorial

I don't know what exactly you are trying to achieve but I think instead of SpriteKit you may wanna check out the UIKitDynamics which provides "physics-related capabilities and animations to views and other dynamic items". I would suggest you look at the apple doc first https://developer.apple.com/library/ios/samplecode/DynamicsCatalog/Introduction/Intro.html then a really nice tutorial on raywenderlich.com http://www.raywenderlich.com/50197/uikit-dynamics-tutorial

希望对你有帮助……