上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 41 下一页
摘要: #import <PhotosUI/PhotosUI.h> /** * 系统权限的获取 */ class JYSystemAuthorityModel: NSObject { /// 获取访问相册的权限 /// /// - Parameter result: 权限结果 static func che 阅读全文
posted @ 2020-02-26 12:44 懂事长qingzZ 阅读(1235) 评论(0) 推荐(0)
摘要: //显示提交按钮 时的约束 private var svBottomCon:NSLayoutConstraint? //隐藏提交按钮 时的约束 private var svUpdateBottomCon:NSLayoutConstraint? //显示有数据的UI , 不能编辑,隐藏提交按钮 此时设 阅读全文
posted @ 2020-02-19 10:09 懂事长qingzZ 阅读(2365) 评论(0) 推荐(0)
摘要: iOS Xcode自定义代码块迁移 Command + Shift + G. 前往如下路径的文件夹 路径 : ~/Library/Developer/Xcode/UserData/CodeSnippets 把文件夹内部的文件复制, 粘贴到另一台电脑的Xcode同样的文件夹中即可 重启xcode 转自 阅读全文
posted @ 2019-12-19 18:13 懂事长qingzZ 阅读(284) 评论(0) 推荐(0)
摘要: 对于固定显示的 直接添加个一个view 上就行, 类似上面的 开单办卡, 用一个bgView 添加这两个控件 需求 : 上面的 view 是 UITableview 的 头部, 不是分区的头部, 有卡显示卡模块, 没卡, 就不显示 此时最好的解决方法, 就是 卡的背景view换成UIScrollVi 阅读全文
posted @ 2019-12-10 11:42 懂事长qingzZ 阅读(472) 评论(0) 推荐(0)
摘要: 总结,实现了 cell预设高度, header 预设高度, footer预设高, 不会报错 1. UITableview先走 预设高度的代理 预设cell高度 func tableView( tableView: UITableView, estimatedHeightForRowAt indexP 阅读全文
posted @ 2019-11-26 10:52 懂事长qingzZ 阅读(410) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/0c29e222430f 阅读全文
posted @ 2019-11-15 13:52 懂事长qingzZ 阅读(154) 评论(0) 推荐(0)
摘要: btn.layer.removeAllAnimations() btn.adjustsImageWhenHighlighted = false 阅读全文
posted @ 2019-11-11 16:42 懂事长qingzZ 阅读(351) 评论(0) 推荐(0)
摘要: 在 Info.plist 文件中,添加 key 为 User Interface Style,类型为 String,value 设置为 Light 即可。 单个页面或视图关闭暗黑模式,设置 overrideUserInterfaceStyle 为对应的模式,强制限制该视图与其子视图以设置的模式进行展 阅读全文
posted @ 2019-11-04 16:27 懂事长qingzZ 阅读(586) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/8183d086b931 阅读全文
posted @ 2019-11-04 10:50 懂事长qingzZ 阅读(184) 评论(0) 推荐(0)
摘要: 错误信息 [!] 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 阅读(3526) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 41 下一页