12 2021 档案
摘要:之前项目中获取是否开启通知权限一直都是用的一下方法 如果拿到setting.types == UIUserNotificationTypeNone 则表示通知未开启 UIUserNotificationSettings *setting = [[UIApplication sharedApplica
阅读全文
摘要:提交app到appStore被拒 Guideline 2.1 - Information Needed We're looking forward to completing our review, but we need more information to continue. Your app
阅读全文
摘要:collectionView自适应高度 有两个点需要注意 1.设置layout的estimatedItemSize属性 UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init]; flowLa
阅读全文
摘要:项目中用到需要手写签名并保存为图片的需求 大致思路就是利用UIBezierPath曲线将手势滑动的坐标绘制处理,然后利用CoreGraphics保存为图片 @interface CustomerSignatureView : UIView /** * 获取签名图片 */ - (UIImage *)g
阅读全文