当前位置:网站首页>swift 导航栏颜色设备和去掉下边缘线
swift 导航栏颜色设备和去掉下边缘线
2022-07-21 05:06:00 【ruglcc】
自定义导航控制器
class RcNavigationController: UINavigationController {
override func viewDidLoad() {
super.viewDidLoad()
// 设置导航栏颜色
self.navigationBar.barTintColor = UIColor.red
self.navigationBar.isTranslucent = false
// 去掉下边缘线
self.navigationBar.setBackgroundImage(UIImage(), for: .default)
self.navigationBar.shadowImage = UIImage()
}
}
边栏推荐
- Vs, MATLAB, leetcode annotation shortcut key
- Deep analysis of string -- memset & memcmp
- 移动端 pc端 小程序 UI框架选择
- 18.【指向二维数组的指针注意事项】
- 1023 groups of decimals
- [C language] please fly the detailed ability functions and arrays back to the country of light
- Luogu p1119 post disaster reconstruction (Floyd)
- [C language] 100 Ultraman wars 100 monsters source code
- Read the manuscript in pieces
- 用大白话让你理解TypeScript的要点.(三)
猜你喜欢
随机推荐
[C语言]一百个奥特曼大战一百个怪兽 源代码
vant toast 内容一直被第一次触发的覆盖
C. Binary string (prefix sum)
微信小程序request:fail -2:net::ERR_FAILED
D. Insert a progression (Mathematics)
碎碎念 碎碎念 下 原稿
在ROS上跑高飞组代码遇到[global_planning_node-5] process has died [pid 3143, exit code -6, cmd /home/gaofei/ROS
Handwriting promise
今天不拉扯了 不拉扯了 碎碎念 上
MySQL import and export & View & Index & execution plan
[HTTP cache]
Deep analysis recursion
图片懒加载
再见了,各位(虽然没人会注意到)
js页面的跳转以及接收参数
C language to achieve three chess games - pattern open version(
Luogu p1119 post disaster reconstruction (Floyd)
第四局 借问酒家何处有?牧童遥指杏花村 匹配几把 缓解对线压力 上
20.【char*与string相等不相等】
[C语言函数数组]带走我最后的思念吧 光!