摘要:
最近需要重装一次。 检查是否有安装残留(删除CocoaPods) 如果之前装过cocopods,最好先卸载掉,卸载命令: sudo gem uninstall cocoapods 先查看本地安装过的cocopods相关东西,命令如下: gem list --local | grep cocoapod 阅读全文
摘要:
定位转换 //WGS-84:是国际标准,GPS坐标(Google Earth使用、或者GPS模块) //GCJ-02:中国坐标偏移标准,Google Map、高德、腾讯使用 //BD-09: 百度坐标偏移标准,Baidu Map使用 国际共识:WGS84的坐标系统,以经纬度的形式来表示地球平面上的某 阅读全文
摘要:
如何将iOS的文本框默认的copy、past改成中文复制粘贴 info.plist中将Localization native development region改为China,并增加Localized resources can be mixed,设为YES, 此方法也可以将导航栏中的返回按钮由“ 阅读全文
摘要:
// // RAAppleIdManager.swift // ***** // // Created by baitongtong on 2020/11/5. // Copyright © 2020 hq. All rights reserved. // import UIKit import A 阅读全文
摘要:
// // RAWechatManager.swift // **** // // Created by baitongtong on 2020/11/3. // Copyright © 2020 hq. All rights reserved. // import UIKit ///写好的,喜欢加 阅读全文
摘要:
Universal Links 通用链接(Universal Link)是iOS9推出的一项新功能,如果你的应用(app)支持通用链接(Universal Link)之后,iOS用户能够在点击网页的链接的时候无缝的重定向到已经安装的app,不需要额外的任何操作。如果没有安装对应的app,那么点击链接 阅读全文
摘要:
在初始化的时候传入一个固定的参数。 1 在自定义的初始化方法中,一定要调用父类的 designated 初始化方法 即 init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) 或 init?(coder aDecoder 阅读全文
摘要:
给视图添加点击波纹效果 import UIKit class ViewController: UIViewController { private let radarAnimation = "radarAnimation" private var animationLayer: CALayer? p 阅读全文
摘要:
Xcode 版本支持路径 com+col+G 前往 col+v /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 阅读全文
摘要:
分享近期 GitHub 上比较流行的 22 个和 iOS 开发相关的开源项目。 包括开发辅助工具,异步编程库,JSON 解析,移动端数据库,图像视频处理,网络请求,UI 框架、组件,算法、数据结构等内容。 Accio 使用 Swift 编写的 iOS/tvOS/watchOS/macOS 依赖管理工 阅读全文