- 博客(26)
- 资源 (1)
- 收藏
- 关注
原创 mtu(Maximum Transmission Unit)最大传输单元
最大传输单元(Maximum Transmission Unit, MTU)用来通知对方所能接受数据服务单元的最大尺寸,说明发送方能够接受的有效载荷大小最大传输单元 - 百度百科
2021-01-29 17:12:42 475
原创 mac PDF编辑器 PDF编辑工具 PDF转换器 Adobe Acrobat Pro DC
Adobe Acrobat - 百度百科的介绍Adobe Acrobat Pro DC软件mac版下载链接:Adobe Acrobat Pro DC 20.013.20074Adobe Acrobat DC - 百度网盘
2021-01-28 19:42:49 249
原创 此版本未允许任何现有用户升级至新添加的 APK,因此无法发布。
原因:新版本的号码10024比旧版本的号码10034小,如下图解决:把新版本的号码改为10240就可以了(只要大于10034就可以)
2021-01-28 17:19:24 3980
原创 ACCESS_BACKGROUND_LOCATION
把js或是java中有ACCESS_BACKGROUND_LOCATION的地方都注释或是删除
2021-01-28 16:08:33 2455
原创 input只能输入数字和字母
输入大小写字母、数字、下划线:<input type="text" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"> input输入框只能输入数字,只能输入字母数字组合
2021-01-28 15:09:37 2760
原创 iOS swift工具类 XYHelper
文章目录1.说明2.github地址3.代码1.说明2.github地址XXyueliang/XYHelper3.代码//// XYHelper.swift// XYCBCentralManager//// Created by macvivi on 2021/1/4.//import UIKitclass XYHelper: NSObject { //MARK: 获取storyboard中的控制器 //storyboardStr: storyboard的
2021-01-27 19:08:02 1012
原创 ios swift app在后台或是被杀死了怎样使用蓝牙
iOS开发中APP在后台运行与扫描蓝牙遇到的坑iOS 唤醒被Kill的APP保证蓝牙的长连接Getting Location Updates for iOS 7 and 8 when the App is Killed/ Terminated/ Suspended
2021-01-21 19:22:57 1639
原创 iOS swift 定时器
//TimeInterval 1后面的单位是秒 Timer.scheduledTimer(withTimeInterval: TimeInterval(1), repeats: true, block:{(timer: Timer) -> Void in //这里写需要重复执行的代码 })参考博客:Swift定时器的几种实现方式...
2021-01-18 16:57:59 448
原创 ios swift 打印Data
代码: func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveWrite requests: [CBATTRequest]) { print(#function) if let data: Data = requests[0].value { print(data) print(NSData(data: data)) }
2021-01-16 14:31:58 1232
原创 UIScrollView storyboard 约束 布局
下面这边文章有用:Xcode 11 UIScrollView xib storyboard设置约束报错问题
2021-01-14 19:29:19 519
原创 iOS swift UITextField 限制输入指定的字符 限制输入字符的长度
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { if type == .cameraName { }else{ return true; } guard let text = te...
2021-01-13 19:24:52 2388
原创 Subscript ‘subscript(_:)‘ requires that ‘String.Index‘ conform to ‘RangeExpression‘
Subscript ‘subscript(_????’ requires the types ‘String.Index’ and ‘Int’ be equivalent解决如下: let index: String.Index = contentStr.index(contentStr.startIndex, offsetBy: i) btn.setTitle(""+contentStr[index...index], for: .normal)
2021-01-11 09:50:49 1169
原创 (iOS, Swift)十六进制字符串转(Hex)Data,Data转十六进制String Data,NSData,bytes[UInt8]互转
(iOS, Swift)十六进制转Data,十六进制转整形,Data转String
2021-01-07 20:44:08 12271
原创 Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTED
参考博客:Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTEDandroid:usesCleartextTraffic
2021-01-07 14:48:06 337
原创 APK REQUIRES VALID PRIVACY POLICY APK REQUIRES PROMINENT DISCLOSURE
我用了极光推送,却没有在隐私政策中具体说明推送的用途
2021-01-07 10:53:39 934 2
原创 ios tableview Header In Section字体大小
Swift - 修改tableView分组(section)头部、尾部的字体颜色和大小
2021-01-06 20:29:32 459
原创 iOS swift5 延迟执行
//now后面的单位是秒 DispatchQueue.main.asyncAfter(deadline: .now()+1, execute: { print(Thread.current) print("yanc") print(self.peripheral?.services) })打印:<NSThread: 0x2829bc940>{number = 1, name
2021-01-06 15:55:20 958
原创 Fiido Smart Lock Privacy Policy(飞道智锁隐私政策)
EnglishThe app uses the bluetooth of the phone to communicate with the lockApp or get the location of the phone, so that when the lock is connected to the App via Bluetooth, the location of the phone, that is, the current location of the lock, can be re
2021-01-04 11:27:19 3216
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人