摘要:
1.百度搜索 百度地图api 2. 选中之后选择, 看功能需求下载 API 3. 下载的API拖入项目,此处有坑, 如果只用地图或者 定位,这中写着 是 导航的SDK 别拖进去, 不然报错 怕搞错到这里面 选择API,已经分好了 第二个坑 mapapi.bundle 这个东西 在他们SDK里面有,但
阅读全文
posted @ 2018-12-20 15:32
懂事长qingzZ
阅读(910)
推荐(0)
摘要:
1.iOS12 之前 使用 UIWebView 2. iOS 12 之后 系统推荐WKWebView 替代 UIWebView
阅读全文
posted @ 2018-12-17 10:12
懂事长qingzZ
阅读(732)
推荐(0)
摘要:
xcode 10 上pod install 出现错误 此时 终端已经给你提示了,升级新版本 把, 现在的版本 可能(一定)不兼容 = = 解决 办法1: 升级pod 版本 目前 pod --version 是1.5.3 终端输入 sudo gem install cocoapods --pre 升级
阅读全文
posted @ 2018-12-15 16:02
懂事长qingzZ
阅读(1355)
推荐(0)
摘要:
1. 查看当前版本 pod --version 2.如果安装过pod,更新命令 新版 sudo gem install -n /usr/local/bin cocoapods --pre 旧版 sudo gem install cocoapods --pre 然后 pod --version 3.如
阅读全文
posted @ 2018-12-15 15:50
懂事长qingzZ
阅读(655)
推荐(0)
摘要:
1.自定义tabbar按钮 只能 present出来VC 或者 nav. 因为它本身 没有导航控制器, 只有在tabbar 的根导航控制器的 VC 才能push
阅读全文
posted @ 2018-12-14 15:25
懂事长qingzZ
阅读(245)
推荐(0)
摘要:
1.xib 上的 3D效果 按钮 2. 2. 截图 3. 关键字搜索
阅读全文
posted @ 2018-12-13 12:01
懂事长qingzZ
阅读(450)
推荐(0)
摘要:
import UIKit //1.导入框架 import MapKit class ViewController: UIViewController { lazy var geoCoder : CLGeocoder = { return CLGeocoder() }() override func touchesBegan(_ touches...
阅读全文
posted @ 2018-12-13 11:04
懂事长qingzZ
阅读(266)
推荐(0)
摘要:
知道控件的frame ,创建控件时候直接加上 渐变色 // 创建背景渐变色button(通用于View or Controller底部按钮),bounds计算后传入 static func createGradientButton(font: UIFont = UIFont.systemFont(o
阅读全文
posted @ 2018-12-12 15:46
懂事长qingzZ
阅读(1279)
推荐(0)
摘要:
设置字体和颜色 lab.textColor = UIColor.init(hexColor: "795928") lab.font = UIFont.systemFont(ofSize: 32, weight: UIFont.Weight.black) 设置html 导图颜色 extension U
阅读全文
posted @ 2018-12-12 11:53
懂事长qingzZ
阅读(683)
推荐(0)
摘要:
1.创建tableview 2.UICollectionView
阅读全文
posted @ 2018-12-11 14:59
懂事长qingzZ
阅读(326)
推荐(0)