最佳答案
如果动画发生在单个 View 中,您可以使用 Playground,但如果您希望在不同 View 之间进行转换,最好使用项目,它为您提供了所有工具来处理带有 Storyboard 和基于代码的 View 之间的转换 https://developer.apple.com/library/content/featuredarticles/XcodeConcepts/Concept-Projects.html
关于ios - 我们可以在 Swift Playground 中添加过渡动画吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43046940/