上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页
摘要: 提交app到appStore被拒 Guideline 2.1 - Information Needed We're looking forward to completing our review, but we need more information to continue. Your app 阅读全文
posted @ 2021-12-30 13:32 qqcc1388 阅读(1713) 评论(0) 推荐(0)
摘要: collectionView自适应高度 有两个点需要注意 1.设置layout的estimatedItemSize属性 UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init]; flowLa 阅读全文
posted @ 2021-12-15 14:31 qqcc1388 阅读(2180) 评论(0) 推荐(0)
摘要: 项目中用到需要手写签名并保存为图片的需求 大致思路就是利用UIBezierPath曲线将手势滑动的坐标绘制处理,然后利用CoreGraphics保存为图片 @interface CustomerSignatureView : UIView /** * 获取签名图片 */ - (UIImage *)g 阅读全文
posted @ 2021-12-03 10:07 qqcc1388 阅读(654) 评论(0) 推荐(0)
摘要: el-input限制只能输入数字 <el-form-item label="保质期(天)" prop="shelfLife" required> <el-input v-model="form.shelfLife" placeholder="请输入天数" size="mini" class="for 阅读全文
posted @ 2021-11-24 16:38 qqcc1388 阅读(1780) 评论(0) 推荐(0)
摘要: iOS应用在客户第一次安装的时,会请求网络权限,此时就算用户点击了同意网络权限,网络请求此时可能也已经失败,需要在客户点击了同意的时候,重新发起新的网络请求 监听网络权限这里采用CoreTelephony/CTCellularData.h这个库来监听,具体操作流程 1、创建CTCellularDat 阅读全文
posted @ 2021-11-16 10:16 qqcc1388 阅读(3556) 评论(0) 推荐(0)
摘要: 1、在发起请求时直接从原始地址请求,不读缓存数据 : NSURLRequestReloadIgnoringCacheData self.webView = [[WKWebView alloc]initWithFrame:f configuration:configuration]; _webView 阅读全文
posted @ 2021-11-16 10:05 qqcc1388 阅读(2446) 评论(0) 推荐(0)
摘要: Xcode13运行模拟器报错,真机正常 building for iOS Simulator, but linking in object file built for iOS, xxxx for architecture arm64 解决方法 这里只提一种我自己真实有效的一个方案 build se 阅读全文
posted @ 2021-10-15 10:09 qqcc1388 阅读(978) 评论(0) 推荐(0)
摘要: 使用validateField方法,比如要检验prop为‘aaa’的属性,form的ref为‘fromName’,如下使用: this.$refs.formName.validateField('aaa'); 清除某个rules警告 this.$refs.formName.clearValidate 阅读全文
posted @ 2021-09-03 14:56 qqcc1388 阅读(1299) 评论(0) 推荐(0)
摘要: 自定义弹窗灰色遮罩背景可以上下滑动,阻止遮罩穿透 <view @touchmove.stop.prevent> 阅读全文
posted @ 2021-06-09 11:16 qqcc1388 阅读(1937) 评论(0) 推荐(0)
摘要: 由于项目列表比较复杂,将部分列表的内容用tableView展示并作为一个cell放在父容器的tableView中,通过提前计算子tableView的总高度然后刷新大的tableView的列表,功能是完成了,但是tableView plain模式下,headerView和footerView默认有个灰 阅读全文
posted @ 2021-06-04 10:13 qqcc1388 阅读(444) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 37 下一页