
侧滑返回卡死:手势结束早于 startInteractiveTransition
快速轻扫一下侧滑返回,整个页面就卡死了。原因是 UIKit 的交互转场不会马上开始,而手势可以在它开始之前就结束。记录一次排查:先猜错了,然后让日志说话。
7 min read→
05 Blog · 23 posts · Since 2020
开发者,细节控,写博客。记录 iOS 开发、网络、路由器和系统折腾中踩过的坑。

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

Supa Cudy 是为 Cudy TR3000 打造的 OpenWrt 固件,附带一套手机上也好用的中文管理页面。连酒店 Wi-Fi、挂 VPN、管理设备,点几下就能完成;原版 LuCI 完整保留。
6 min read→

Background While using ImmortalWrt on an ARM64 router, I encountered an issue where a USB portable Wi-Fi / cellular modem was not recognized correctly
2 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→

What is this error? “ERR_ECH_FALLBACK_CERTIFICATE_INVALID” is a browser error that appears when a site using TLS with ECH (Encrypted Client Hello) fai
4 min read→

最近购买了一台绿联 DXP4800 NAS,并在虚拟机中安装了 Ubuntu 系统,将其作为内网的服务器进行使用。然而,发现系统经常会出现意外关机的情况,而关机事件在系统日志中并没有记录任何相关信息。经过一番排查,终于找到了问题的原因。 问题描述 在使用 Ubuntu 系统时,NAS 偶尔会突然关机
1 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→

Debian and Ubuntu are popular Linux operating systems that offers powerful features and stable performance. When using them, you may encounter situati
2 min read→

VPS指引(含aff) NatHost $1/年 仅IPv6 服务器 1核心LXC-128M (三网都还不错,单线程测试下电信4G测试80Mbps,电信500M宽带90Mbps,移动1000M宽带120Mbps) 主要方案使用的是WARP+获取的IPv4+IPv6出口。
1 min read→

VPS服务器是许多网站、应用程序和企业的主要部署方式,但它们也面临着被黑客攻击和入侵的风险。为了确保VPS服务器的安全性,我们需要采取一些措施来防止它被入侵。 最近发现好多同学开始使用云服务器了,遂写个服务器安全小科普~ 下面是一些防止VPS服务器被入侵的重要措施: 使用强密码、SSH密钥和高位端口
3 min read→

前言 最近入手了洋垃圾Netgear 782s,十年前的WCDMA/LTE设备了。基本参数如下 4G LTE band 1/3/7/8 (900/ 1800/2100/2600 MHz) Rel. 10 Carrier Aggregation: 900 (B8) / 1800 (B3) Quad B
2 min read→

问题和解决 最近开始学习Swift的一些高阶知识,遂计划在写了一半的小项目中使用@EnvironmentObject来代替@Binding。 在替换的过程中,大部分的View都work perfectly fine,然而每当点开某个View时就会引发崩溃,并且报错: A view is missin
1 min read→
Install brew If you don’t have installed brew on your Mac yet, please go to brew.sh and install it on your Mac via Terminal. If you have done that bef
1 min read→

Time Machine local snapshots cannot be turned off since macOS 10.13 and must be cleaned up one by one. This note introduces a very simple command that
1 min read→

最近购入了Photonicat这款随身软路由Wi-Fi用来方便在寝室和室外网络进行无缝切换。突然想起来之前还有一篇计划的校园网多设备共享blog还没有写,于是补下这篇文章。 关于本校的校园网,相信大家都知道是禁止单一账号下多设备同时访问互联网的,具体表现为 单个账号只有两台设备能同时接入互联网,这给
8 min read→

前期调研 考虑到校园网路水平实在稀烂,上学期末购入了一款三星的便携随身Wi-Fi。机器本身是安卓系统,因此可以比较方便地安装Clash X等软件,并通过HTTP或Socks5代理等方式将其专用网络共享给链接至热点的设备。但是,目前网路上没有成功ROOT的先例,因此并不能使用TUN/TAP的方式直接共
5 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→

注意 本教程只作为学习用途,请遵守中国、美国或当地法律。本网站对由你所造成的任何结果不负有任何直接责任以及连带责任。This blog is for educational use only. Any behavior violating the law is prohibited, whereve
1 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→

前往我的Sharepoint页面进行下载 Computer Systems Computer Systems. A Programmer’s Perspective [3rd ed.]
1 min read→

布展 现场
1 min read→
使用python进行爬虫。需要修改一些参数。 原始数据存放在Excel表格中。 # -*- coding: utf-8 -*- import urllib.request import urllib.error import http.cookiejar from PIL import ImageT
1 min read→