
侧滑返回卡死:手势结束早于 startInteractiveTransition
快速轻扫一下侧滑返回,整个页面就卡死了。原因是 UIKit 的交互转场不会马上开始,而手势可以在它开始之前就结束。记录一次排查:先猜错了,然后让日志说话。
7 min read→

快速轻扫一下侧滑返回,整个页面就卡死了。原因是 UIKit 的交互转场不会马上开始,而手势可以在它开始之前就结束。记录一次排查:先猜错了,然后让日志说话。
7 min read→

With the release of iOS 18 SDK, many developers have noticed that the same code no longer returns the expected albums on the new system.
2 min read→

问题和解决 最近开始学习Swift的一些高阶知识,遂计划在写了一半的小项目中使用@EnvironmentObject来代替@Binding。 在替换的过程中,大部分的View都work perfectly fine,然而每当点开某个View时就会引发崩溃,并且报错: A view is missin
1 min read→

Just a few days ago, I received an assignment that required me to design a controller for a mobile game. In this assignment, I am implementing a knock
2 min read→
Defining We can declare multiple constants or multiple variables on a single line, separated by commas. var a = 1, b = 2.9, c = "string" //euals to va
2 min read→