ios - 我们可以在 Swift Playground 中添加过渡动画吗?

标签 ios swift swift-playground

我可以在 Swift Playground 中添加动画吗?

enter image description here

如图所示。基本上我如何在 Playground 编写的程序中通过 UI 进行设置?

最佳答案

如果动画发生在单个 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/

相关文章:

ios - 从 iOS 上的 React Native 应用程序访问 NSUserDefaults

ios - 这段代码是否从 objective-c 正确地转换为 swift?

swift - 有 XCPlayground 的替代品吗?

ios - 调用错误之谜中的额外参数

ios - AVFoundation中,如何同步录制和播放

ios - 如何给 UIButton 标签赋负值?

ios - 为什么 iOS 模拟器按我的意愿显示我的应用程序而我的 iPhone 不显示任何内容?

swift - 从 Xcode 调试应用程序时,从终端命令获取相同的 PATH 环境变量?

swift - iPhone X 相机没有填满屏幕

Xcode 7 Playground 标记 : What is keyboard shortcut for Show Rendered Markup