- シュミレーターでアニメーションをスローモーションにする
シュミレーター > Debug > Slow Animationsにチェックを入れる
or
⌘ + T
- 実機でアニメーションをスローモーションにする
didFinishLaunchingWithOptions
に以下を追加する
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
#if DEBUG
application.windows.first?.layer.speed = 0.1
#endif
return true
}