Xcode Playgound示例代码: let testView = UIView() testView.frame = CGRect.init(x: 100, y: 100...
- 转载文章
- 2023-04-09
使用的webview为WKWebView,核心部分代码(Swift 4): // 创建打印渲染 let printPageRenderer:PDFRender = PDFR...
- 转载文章
- 2023-04-09
带有<video>或者<audio>标签的H5网页在播放音频视频时,退出webview后不会自动停止播放,手动处理一下。 1.注入...
- 转载文章
- 2023-04-09
官方文档直通车 Performance Testing A baseline is a combination of the average time perf...
- 转载文章
- 2023-04-09
在模拟器(iPhone 4s,iOS 8.4)中运行应用时, 应用crash在了使用CIContext(options:nil) 这个API的一个纯Swift第三方库。 ...
- 转载文章
- 2023-04-09
present的使用方式 present只能是A present B , B present C , C present D这样的链式弹出。 不能A present B , A p...
- 转载文章
- 2023-03-22
UNI-APP_uni-app IOS平台通用链接【Universal Links】配置
第一步:开启Associated Domains服务 登录苹果开发者网站,在“Certificates, Identif…
- uni-app
- 2023-03-06
UNI-APP_iphone苹果手机底部安全区域
项目要在底部(tabbar之上)做一个固定的按钮,在一般手机下,样式没问题。在iPhone xr和iphone11下,就…
- uni-app
- 2023-03-06
el-select 再添加 filterable属性支持输入搜索时,在ios上无法拉起键盘 解决 <el-select ref="selectRef" v-model="it...
- JavaScript
- 2023-03-06
目录 背景 优雅的解决方法 验证越界使用 验证常规使用 结论 背景 在使用数组(swift)的编码过程中,不让程序崩溃是基本的要求,特别是在团队合作中时。 如果直接下面代码,会出现...
- 转载文章
- 2023-01-31
用launchscreen.storyboard适配启动图方法
目录 更新 背景 启动图相关设置步骤 多语言适配(下面为想当然的错误示范+正确操作链接) demo地址 更新 如果UI愿…
- 转载文章
- 2023-01-10
SDK 内 swift 使用 OC 分类方法小结
一、配置 SDK target 的 buildSetting 中 Defines Module 设置为 YES 分类权限…
- 转载文章
- 2023-01-10
iOS减少编译时间思维导图
- 转载文章
- 2023-01-10
iOS能否自动扫描周边wifi信息并通过密码连接
能否获取系统wifi列表信息 不能,只能获取用户当前连接的wifi信息 https://developer.apple.…
- 转载文章
- 2023-01-10
Array 与 NSArray 的不同点对比表
是什么(类型) 可变吗 能存啥 NSArray 引用类型,不同指针变量指向同一块内存,对一个变量操作时,会自动映射到另一…
- 转载文章
- 2023-01-10
NSArray/NSString/自定义对象 浅拷贝深拷贝对比表
- 转载文章
- 2023-01-10