Swift - UITableView 的自定义cell, 区头和自定义区尾 VFL约束报错问题
摘要:总结,实现了 cell预设高度, header 预设高度, footer预设高, 不会报错 1. UITableview先走 预设高度的代理 预设cell高度 func tableView( tableView: UITableView, estimatedHeightForRowAt indexP
阅读全文
posted @
2019-11-26 10:52
懂事长qingzZ
阅读(400)
推荐(0) 编辑
swift 按钮取消点击动画
摘要:btn.layer.removeAllAnimations() btn.adjustsImageWhenHighlighted = false
阅读全文
posted @
2019-11-11 16:42
懂事长qingzZ
阅读(333)
推荐(0) 编辑
iOS13 暂时全局关闭暗黑模式
摘要:在 Info.plist 文件中,添加 key 为 User Interface Style,类型为 String,value 设置为 Light 即可。 单个页面或视图关闭暗黑模式,设置 overrideUserInterfaceStyle 为对应的模式,强制限制该视图与其子视图以设置的模式进行展
阅读全文
posted @
2019-11-04 16:27
懂事长qingzZ
阅读(577)
推荐(0) 编辑
iOS 13适配总结
摘要:https://www.jianshu.com/p/8183d086b931
阅读全文
posted @
2019-11-04 10:50
懂事长qingzZ
阅读(152)
推荐(0) 编辑
pod install 报错
摘要:错误信息 [!] CocoaPods could not find compatible versions for pod "JYCustomSegmentView": In Podfile: JYCustomSegmentView (~> 0.1.8) None of your spec sour
阅读全文
posted @
2019-11-04 09:49
懂事长qingzZ
阅读(3458)
推荐(0) 编辑
pod search 报错 (更新了macOS Catalina)
摘要:pod search AFN 如下错误 相关链接 [!] CDN: trunk Repo update failed https://www.jianshu.com/p/bf1cbe49cb5d
阅读全文
posted @
2019-11-04 08:50
懂事长qingzZ
阅读(9511)
推荐(1) 编辑