当前位置:网站首页>Changing the background color of tab bar - changing the background color of tab bar
Changing the background color of tab bar - changing the background color of tab bar
2022-06-25 07:07:00 【Saffron】
problem :
I am trying to get desired color rendered in the background of Tab Bar however I am facing problems. I'm trying to Tab Bar In the background of , But I had a problem .These are the things that I tried :- These are the things I've tried :-
Changing the background color of tab bar object from storyboard. Change the background color of the label bar object from the storyboard .The color rendered is always lighter than the desired color. The rendered color is always lighter than the desired color .
Programmatically changing the color of the tab bar using the following code inside
viewDidLoad()method UseviewDidLoad()Method to programmatically change the color of the tab barself.tabBar.translucent = false self.tabBar.backgroundColor = UIColor(hexString: "323B61")It doesn't change the color. It doesn't change color .Instead , the color rendered is white. contrary , The color presented is white .
How can I get the desired color for Tab Bar? How to get Tab Bar The desired color ?
Solution :
Reference resources : https://stackoom.com/en/question/2UfdU边栏推荐
- [ros2] Why use ros2? Introduction to ros2 system characteristics
- The Rust Programming Language
- Are these old system codes written by pigs?
- Analysis of China's food cold chain logistics, output of quick-frozen noodles and rice products and operation of major enterprises in 2021 [figure]
- [Shangshui Shuo series] day 4
- Missing libgmp-10 dll - libgmp-10. dll is missing
- Usage of STL map
- Capable people never complain about the environment!
- cos(a-b)=cosa*cosb+sina*sinb的推导过程
- Unity获取资源路径
猜你喜欢

Ht7180 3.7V L 12v/2a built in MOS high current boost IC solution

The significance and proof of weak large number theorem
![Analysis of China's food cold chain logistics, output of quick-frozen noodles and rice products and operation of major enterprises in 2021 [figure]](/img/66/f723dc48a1009a503f521c4d81c306.jpg)
Analysis of China's food cold chain logistics, output of quick-frozen noodles and rice products and operation of major enterprises in 2021 [figure]

Following the last minor upgrade of nodemcu (esp8266)

StreamNative Platform 1.5 版本发布,集成 Istio、支持 OpenShift 部署

Simple and complete steps of vivado project

Derivation of COS (a+b) =cosa*cosb-sina*sinb
![[tool sharing] a software that pays equal attention to appearance and skills](/img/c0/2c648752163d88e16e357e8a096354.png)
[tool sharing] a software that pays equal attention to appearance and skills

Navicat prevent new query from being deleted by mistake
![[Shangshui Shuo series] day 4](/img/9f/fb4e2be392756cc7aa8de2e9c5aec7.png)
[Shangshui Shuo series] day 4
随机推荐
TCP BBR as rate based
sin(a+b)=sina*cosb+sinb*cosa的推导过程
Solar orbiter captured the full picture of the largest prominence eruption in history
活动报名|Apache Pulsar x KubeSphere 在线 Meetup 火热来袭
Coffee script unmatched outent error
shell 上下两行合并成一行
Shandong finds clean energy that can be used by China for 3800 years? You should know the truth first
3dmax软件的制作木桶过程:三步流程
Modify the default log level
Learn the first routine of FPGA
想买股票去哪个证券公司开户更快更安全
Analysis of China's food cold chain logistics, output of quick-frozen noodles and rice products and operation of major enterprises in 2021 [figure]
Power representation in go language
ACWING/2004. 错字
[Shangshui Shuo series] day 4
[Shangshui Shuo series] day 5
100 times larger than the Milky way, Dutch astronomers found mysterious objects in deep space
Kubernetes 集群中流量暴露的几种方案
[ACNOI2022]王校长的构造
Navicat防止新建查询误删