上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 41 下一页
摘要: 1. #import <PhotosUI/PhotosUI.h> Info.plist 中设置“PHPhotoLibraryPreventAutomaticLimitedAccessAlert”的值为 YES 来阻止该弹窗反复弹出 2.iOS14之后获取相册授权状态的方法 if (@availabl 阅读全文
posted @ 2020-11-12 17:27 懂事长qingzZ 阅读(3523) 评论(0) 推荐(0)
摘要: iOS collectionView返回顶部 1. NSIndexPath *indexPath = [NSIndexPath indexPathForRow:1 inSection:0]; [collectionView scrollToItemAtIndexPath:indexPath atSc 阅读全文
posted @ 2020-11-11 14:49 懂事长qingzZ 阅读(2063) 评论(0) 推荐(0)
摘要: @property (nonatomic,strong) dispatch_source_t timer; ///不是在dealloc 修改为空 - (void)viewWillDisappear:(BOOL)animated{ [super viewWillDisappear:animated]; 阅读全文
posted @ 2020-11-02 14:39 懂事长qingzZ 阅读(182) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/c835185fb9c2 阅读全文
posted @ 2020-11-02 14:26 懂事长qingzZ 阅读(133) 评论(0) 推荐(0)
摘要: 使用OC加载图片的两种方式及其区别 https://blog.csdn.net/u013406800/article/details/72627879 阅读全文
posted @ 2020-10-20 14:53 懂事长qingzZ 阅读(261) 评论(0) 推荐(0)
摘要: 1.Swift自动布局SnapKit的详细使用介绍 https://www.jianshu.com/p/2bad53a2a180 2..安全区写法 swift 约束 - SnapKit 适配iPhoneX 安全区 和苹果自带的VFL ,auto layout 安全区适配 https://my.osc 阅读全文
posted @ 2020-10-19 14:59 懂事长qingzZ 阅读(556) 评论(0) 推荐(0)
摘要: import CoreTelephonyimport Alamofire var currentNetStatus: NetworkReachabilityManager.NetworkReachabilityStatus? { get{ return self.netWorkReachabilit 阅读全文
posted @ 2020-10-19 14:37 懂事长qingzZ 阅读(310) 评论(0) 推荐(0)
摘要: @_exported import UIKit @_exported import Foundation ///pod 下载的三方库, 避免使用重复import @_exported import RxSwift ///响应式编程 @_exported import RxCocoa ///响应式编程 阅读全文
posted @ 2020-10-19 13:57 懂事长qingzZ 阅读(1029) 评论(0) 推荐(0)
摘要: xcode12编译一次 10分钟左右, 前往~/Library/Developer/Xcode/iOS DeviceSupport/该目录下,删除14.0.1 ,然后xcode重启,手机重连再次变异,初次比较慢,大概2分钟,后面重复编译的话一般不到一分钟 阅读全文
posted @ 2020-10-16 10:32 懂事长qingzZ 阅读(1530) 评论(0) 推荐(0)
摘要: po [UIApplication sharedApplication].keyWindow.safeAreaInsets.bottom 正常机器高度 34 有些机器是30.6700002 po [UIApplication sharedApplication].keyWindow.safeArea 阅读全文
posted @ 2020-10-15 18:11 懂事长qingzZ 阅读(431) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 41 下一页