摘要:
//震动一次 /// 震动 OC代码 + (void)impactOccurred { UIImpactFeedbackGenerator *feedBackGenertor = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFee
阅读全文
posted @ 2024-12-24 15:30
懂事长qingzZ
阅读(174)
推荐(0)
摘要:
https://github.com/Genymobile/scrcpy
阅读全文
posted @ 2024-11-19 09:38
懂事长qingzZ
阅读(22)
推荐(0)
摘要:
根据授权状态更新变量 .authorized: 当用户授权通知时,设置 hasNotification = true 和 enableNotification = true。 .denied: 当用户拒绝通知时,设置 hasNotification = false。 .notDetermined:
阅读全文
posted @ 2024-11-18 16:12
懂事长qingzZ
阅读(58)
推荐(0)
摘要:
当一个控件设置了顶部和底部约束的时候, 就已经确定了他的宽高,如果你在给他一个高度height, 会和顶部和底部约束起冲突,会出现UI高度被压缩或者UI正常但是约束冲突 此时更改下优先级,就不会报错,UI也显示正常了 .priority(.high) collectionView.snp.makeC
阅读全文
posted @ 2024-10-15 16:05
懂事长qingzZ
阅读(159)
推荐(0)
摘要:
报错信息如下 Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutD
阅读全文
posted @ 2024-09-24 09:26
懂事长qingzZ
阅读(193)
推荐(0)
摘要:
删除路径:~/Library/Developer/CoreSimulator/Cache 参考:https://www.jianshu.com/p/b484269374d1
阅读全文
posted @ 2024-07-24 08:58
懂事长qingzZ
阅读(103)
推荐(0)
摘要:
OC 属性 @property (nonatomic, strong) NSDictionary * _Nullable extraData; swift使用 打印 Dictionary<AnyHashable, Any> (lldb) po extraData ▿ Optional<Diction
阅读全文
posted @ 2024-07-23 13:43
懂事长qingzZ
阅读(56)
推荐(0)
摘要:
CleanMyMac X4.15.中文破解版许可证激活码:RS6S-LF4Y-J0IW-6WEFRS6S-LF0O-8WMN-I9IG需要专用安装包CleanMyMacX4.15.4方可使用: https://souurl.cn/xnXsWi 参考 : https://blog.csdn.net/Y
阅读全文
posted @ 2024-07-09 08:55
懂事长qingzZ
阅读(471)
推荐(0)
摘要:
extension Dictionary { public func toJSONString() -> String? { guard let data = try? JSONSerialization.data(withJSONObject: self, options: []) else {
阅读全文
posted @ 2024-07-01 09:43
懂事长qingzZ
阅读(58)
推荐(0)
摘要:
https://www.jianshu.com/p/bb0ce0795c59
阅读全文
posted @ 2024-05-31 12:08
懂事长qingzZ
阅读(81)
推荐(0)