自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(534)
  • 资源 (2)
  • 收藏
  • 关注

原创 iOS 实时预览,一键生成源代码

一键生成源代码:Ctrl、View、Cell.

2023-12-23 15:46:10 541

原创 iOS 防止截屏、录屏技术

看图演示,可防止截屏和录屏可以开启或者关闭,是否允许截屏和录屏。

2022-09-13 17:04:22 5164 2

原创 iOS MyLayout使用笔记

记录一些使用 MyLayout 过程中需要注意的地方。

2019-12-16 11:16:36 1075

原创 My Github

JHRequestDebugView - 请求调试窗口https://github.com/xjh093/JHRequestDebugView现在可以看看,隐藏在3840后面,真正的“凶手”了!JHHolderTextView - textView with placeholderhttps://github.com/xjh093/JHHolderTextViewJHCategories - 常用U

2017-11-17 11:55:14 1033

原创 iOS Target aot_assembly_profile failed

如果在真机上运行,重新打开,会直接闪退,想要不闪退,就改成。Build Settings -> 搜索 ->:这样模拟器就能跑了。

2025-06-11 10:21:00 124

原创 iOS UIActivityViewController 组头处理

1、应用未设置AppIcon图标时组头是这样的2、应用设置了AppIcon图标时组头是这样的。

2025-06-04 12:28:38 483

原创 Flutter Invalid constant value.

参数传入变量,报错!代码。

2025-04-09 10:40:47 281

原创 Swift 手动导入 RxSwift.xcframework 报错

手动修复签名,能 Build 成功!

2025-03-12 19:08:36 304 1

原创 Xcode 16.2 最低部署版本调整

安装新版的Xcode 16.2发现只有,没有15以下的了。

2025-03-12 15:31:37 1575 1

原创 iOS for...in 循环

输出结果是什么?

2025-03-01 12:31:58 785

原创 Xcode15(iOS17.4)打包的项目在 iOS12 系统上启动崩溃

崩溃日志,只有 2 行,看不出啥来。

2024-11-26 14:11:43 934 1

原创 iOS 17.4 Not Installed

没有安装 17.4 的模拟器,任何操作都无法进行!点击OK去下载,完成之后,依旧是原样!

2024-11-26 11:25:52 768

原创 H5,防止 h5 无限 debugger

点击后,变成蓝色,即为停用。但有时候,不生效!

2024-08-22 11:25:39 438

原创 iOS 修改 tabbar 图标大小 01

frame 依旧是原来的尺寸,但是 bounds 变了!bounds 就缩小了 4 倍!在点击 tabbar 时,通过修改图片的。属性,来修改图片大小。你会发现,根本改不动!

2024-08-21 14:48:05 564

原创 iOS WKWebView 禁止选中文字

方法来禁用文字选择和上下文菜单。在加载完成后,注入 JS 代码。重写 WKWebView 的。

2024-08-20 16:12:04 662

原创 iOS 左滑返回事件的控制

1-根视图1.1-控制器A1.1.1-控制器B1.1.1.1-控制器C。

2024-07-18 19:00:38 1198 1

原创 iOS Hook 崩溃

被Hook写的Hook。

2024-06-06 15:39:58 520

原创 Mac 分享 WIFI 后,iPhone 连接 WIFI,但无法上网

【代码】Mac 分享 WIFI 后,iPhone 连接 WIFI,但无法上网。

2024-05-30 15:13:34 665

原创 iOS AppStore提审报错 “无法添加以供审核,遇到意外错误” 快速解决方案

最近有些战友,遇到这个无法提审的Bug。

2024-05-07 14:49:59 504

原创 iOS cocoapods pod FrozenError and RuntimeError

1、更新 CocoaPods 到与 Xcode 兼容的版本。凭我多年的经验,我修改了一下这个地方,居然没报错了!2、清理 CocoaPods 缓存。

2024-04-10 18:33:52 1051

原创 iOS library not found for -lMBProgressHUD

一开始是使用CocoaPods管理,后来直接导入。

2024-03-28 15:27:16 738

原创 Python UnicodeDecodeError: ‘gbk‘ codec can‘t decode character ‘\xa5‘ in position 0

这个错误出现的场景是这样的:通过request获取网页内容使用bs4解析数据在把数据写入文件时出现了这个错误应该是编码问题。

2024-02-20 18:44:59 538

原创 Python UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa4 in position 49

这个错误出现的场景是这样的:我把一个在 Mac 电脑生成的.txt文件拷贝到了 Windows 电脑上在读取.txt文件内容时出现了这个错误应该是编码问题。

2024-02-20 18:38:09 640

原创 iOS 关于 SocketRocket 报错 _utf8_nextCharSafeBody

【代码】iOS 关于 SocketRocket 报错 _utf8_nextCharSafeBody。

2023-11-16 11:23:36 281

原创 iOS Autolayout 约束设置【顺序】的重要性!

iOS Autolayout 约束设置【顺序】的重要性!

2023-10-28 14:00:00 489

原创 iOS Xcode15 适配:Other Linker Flags:-ld_classic

Xcode 14毛问题都没有,Xcode 15崩溃。

2023-10-27 10:32:25 2189 1

原创 iOS unable to find utility “pngcrush“, not a developer tool or in PATH

很奇怪,还很蛋疼 T_T前一秒还能Build成功,运行后一秒直接网上查找了一番,也没什么结果。

2023-05-30 16:46:27 810

原创 iOS UIAlertController 添加自定义视图

先看效果图~1.展示图片的2.展示自定义视图的。

2023-04-26 14:15:48 729

原创 iOS xcode14 Application circumvented Objective-C runtime dealloc initiation for <XXX> object

iOS16 Xcode14 适配

2023-04-13 16:24:47 583

原创 iOS Undefined symbols for architecture arm64

提示某个类XXX,没找到!

2023-04-10 17:26:23 442

原创 Xcode 14 Pod 报错

Xcode 14 Pod 报错

2023-04-04 16:35:20 1205

原创 【Swift 60秒】97 - Optionals: Summary

You've made it to the end of the tenth part of this series, so let's summarize:

2023-02-23 10:17:19 480

原创 【Swift 60秒】96 - Typecasting

Swift must always know the type of each of your variables, but sometimes you know more information than Swift does. For example, here are three classes:

2023-02-21 10:07:51 478

原创 【Swift 60秒】95 - Failable initializers

When talking about force unwrapping, I used this code:

2023-02-17 10:40:34 546

原创 iOS UIFont familyNames 笔记

iOS UIFont familyNames 笔记

2023-02-17 10:33:07 546

原创 【Swift 60秒】94 - Optional try

Back when we were talking about throwing functions, we looked at this code:

2023-02-15 10:29:10 539

原创 【Swift 60秒】93 - Optional chaining

Swift provides us with a shortcut when using optionals: if you want to access something like `a.b.c` and `b` is optional, you can write a question mark after it to enable optional chaining: `a.b?.c`.

2023-02-14 16:44:47 515

原创 【Swift 60秒】92 - Nil coalescing

The `nil coalescing` operator unwraps an optional and returns the value inside if there is one. If there *isn't* a value - if the optional was `nil` - then a default value is used instead. Either way, the result won't be optional: it will either by the val

2023-02-13 09:30:56 519

原创 【Swift 60秒】91 - Implicitly unwrapped optionals

Like regular optionals, implicitly unwrapped optionals might contain a value or they might be nil. However, unlike regular optionals you don't need to unwrap them in order to use them: you can use them as if they weren't optional at all.

2023-02-10 11:08:27 446

原创 【Swift 60秒】90 - Force unwrapping

Optionals represent data that may or may not be there, but sometimes you know for **sure** that a value isn't nil. In these cases, Swift lets you force unwrap the optional: convert it from an optional type to a non-optional type.

2023-02-08 11:06:59 606

Animatable Properties.pdf

iOS Core Animation,CALayer Animatable Properties,CIFilter Animatable Properties。

2020-08-06

ISO_IEC_14496-1_2010.pdf

2017-01-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除