腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1403)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
iOS 7
BarTintColor
有没有人注意到在iOS7中,如果
barTintColor
设置为默认值,半透明导航栏只在下面显示颜色?有没有办法强制它显示正确的颜色?
浏览 7
提问于2013-11-07
得票数 0
2
回答
barTintColor
在斯威夫特
如果我所拥有的是十六进制颜色,那么更改导航栏颜色的最佳方法是什么:#292e3fUINavigationBar.appearance().
barTintColor
= UIColor.blueColorvar navBarColor = UIColor (red:0.161,green:0.18,blue:0.247,alpha:1.0) UINavigationBar.appearance().
barTintColor
浏览 0
修改于2014-11-06
得票数 1
回答已采纳
1
回答
QLPreviewController NavigationBar
barTintColor
= false UINavigationBar.appearance().
barTintColor
浏览 3
提问于2017-12-06
得票数 2
2
回答
不能更新UITabBar
barTintColor
在viewDidLoad中,我尝试了以下方法来更新我的UITabBar的背景或"
barTintColor
“。我试过的是: UINavigationBar.appearance().
barTintColor
= UIColor.white
浏览 0
修改于2016-11-13
得票数 3
回答已采纳
2
回答
iOS 10
barTintColor
动画
基本上,在ios 9上,
barTintColor
使用[UIViewControllerTransitionCoordinator animateAlongsideTransition]平稳地动画。
浏览 5
提问于2016-09-27
得票数 11
回答已采纳
1
回答
更改
barTintColor
中的activityViewController
我有一个快速的4/ iOS 12应用程序,它为所有视图控制器使用自定义的
barTintColor
,并在appDelegate.swift中设置如下所示:但是,当我呈现一个activityViewControlleractivityViewController, animated: true, complet
浏览 7
提问于2018-12-16
得票数 1
回答已采纳
1
回答
iOS PopoVer NavigationBar不显示
BarTintColor
在我们的应用程序中,我们用下面的代码设置导航条和工具栏颜色。使用iOS 8.x,这是很好的工作方式。最近,我用iOS 7.x测试了这个应用程序,没有显示颜色。条形图是透明的,文本是白色的(所以这是有效的.)// Override point for customization after application launch. [[UIApplication sharedA
浏览 3
提问于2015-04-28
得票数 0
回答已采纳
3
回答
阿尔法没有改变UINavigationBar的
barTintColor
navigationBar.
barTintColor
= UIColor(red: 0/255, green: 0/255, blue: 0/255, alpha: 0.6) self.navigationController
浏览 3
修改于2015-09-11
得票数 2
回答已采纳
1
回答
UINavigationBar.
barTintColor
关于iPhone 4的问题
我正在定制应用程序的
barTintColor
的UINavigationBar和UIToolbar,如下所示:[[UINavigationBar appearance] setBarTintColor:[当我操作self.navigationController.navigationBar.
barTintColor
而不是UINavigationBar.appearance.
barTintColor
时,也会出现同样的问题我完全可以通过不设置
barTintColor
来部分地避免这个问题,但是这种方法限制了我使用默认的
ba
浏览 0
提问于2013-10-21
得票数 2
回答已采纳
1
回答
UISearchController searchBar不更新
barTintColor
prominent searchController.searchBar.
barTintColor
浏览 3
提问于2018-09-25
得票数 1
2
回答
页面加载后更改
barTintColor
根视图有一个导航条
BarTintColor
设置为我推送到的视图。例如:当页面已经加载时,如何设置
barTintColor
?
浏览 1
修改于2014-02-01
得票数 1
回答已采纳
3
回答
不变的
barTintColor
UINavigationBar on iOS 13.4
在iOS上将Xcode升级到11.4 (11E146)版本后,
barTintColor
仅通过故事板进行更改。在代码中,更改将被忽略。self.navigationController.navigationBar.
barTintColor
= UIColor.redColor;
浏览 6
修改于2020-04-18
得票数 6
回答已采纳
1
回答
选择UITabBar
BarTintColor
时更改TabBarItem
当用户在选项卡之间切换时,我试图更改
BarTintColor
of UITabBar。UITabBar tabbar, UITabBarItem item) base.ItemSelected(tabbar, item); 当用户在选项卡之间切换时,如何更改
BarTintColor</em
浏览 3
提问于2016-06-20
得票数 0
2
回答
导航条外观
barTintColor
α组件
didFinishLaunchingWithOptions中,我有以下代码行:navigationBarAppearance.
barTintColor
浏览 3
修改于2015-12-14
得票数 3
2
回答
UIToolbar tintColor和
barTintColor
问题
我有这样的代码:colorView.frame = CGRectMake(0.0, 0.0, self.view.frame.size.width, 64.0);//colorView.tintColor = [UIColor blackColor]; toolbar.frame = CGRectMake(0.0
浏览 3
提问于2013-10-22
得票数 8
回答已采纳
1
回答
默认的
barTintColor
和backgroundColor用于UISearchBar
我试过[[UISearchBar appearance]
barTintColor
]和self.searchBar.
barTintColor
,但都没有用。我通常使用实用程序文件夹中的DigitalColor Meter来获取条形图的值,然后将背景设置为白色,并将
barTintColor
设置为测量值。
浏览 0
提问于2015-07-07
得票数 1
回答已采纳
1
回答
UISearchbar
barTintColor
取消按钮不可见
我尝试将UISearchbar的条形图颜色设置为一种颜色,将tintColor (游标和取消按钮)设置为另一种颜色,代码如下:searchbar.tintColor= color2; 正确地应用了
barTintColor
。
浏览 0
修改于2013-12-05
得票数 7
回答已采纳
3
回答
当NavigationBar是大标题时,
barTintColor
不适用
我想做一些更改,所以在Xcode11上重新编译,现在
barTintColor
有问题。如果'Large Titles‘设置为'Always’,我的自定义
barTintColor
就不会被应用--我只会得到默认的灰色。如果'Large Titles‘设置为'Never',我的自定义
barTintColor
将按预期应用。我的ViewController类中的相关代码,最后一行是设置
barTintColor
的代码: override func viewDidLoad() {
浏览 61
提问于2020-03-22
得票数 2
回答已采纳
1
回答
在push segue上动画化
barTintColor
self.navigationController.navigationBar.translucent = NO;} completion:nil]; 它将
barTintColor
作为动画,但我的导航栏应该是半透明的。
浏览 4
修改于2017-05-23
得票数 0
回答已采纳
5
回答
UITabBarController
BarTintColor
不在iOS15工作
我有一个用于iOS的选项卡条呈现器类,在ViewWillAppear()中,我使用代码TabBar.
BarTintColor
= UIColor.Blue来更改选项卡栏的颜色,它只适用于下面的iOS,而不是代码以更改在iOS14 & iOS13中工作的标题栏颜色UINavigationBar let appearance =
浏览 20
修改于2021-09-24
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券