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

快速轻扫一下侧滑返回,整个页面就卡死了。原因是 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→

常见的一些UIScrollViewDelegate代理回调可以参考https://www.cnblogs.com/cchHers/p/12423838.html,下面列出的主要是一些特殊情况。 1. scrollViewWillBeginDecelerating和scrollViewDidEndDe
1 min read→

错误描述 升级了Xcode 16 beta3后无法正常启动,报错显示 Failed to load plug-in. 通过命令行启动可以发现错误信息 Last login: Sun Jul 14 22:51:58 on console /Users/xxx/.zprofile:8: no such
1 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→
使用python进行爬虫。需要修改一些参数。 原始数据存放在Excel表格中。 # -*- coding: utf-8 -*- import urllib.request import urllib.error import http.cookiejar from PIL import ImageT
1 min read→