当前位置:网站首页>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边栏推荐
- [tool sharing] a software that pays equal attention to appearance and skills
- 我们不一样
- Expression of fatherly love
- 【工具分享】一款颜值与技能并重的软件
- Blue Bridge Cup SCM module code (external interrupt) (code + comment)
- Common cluster scripts
- [2022 dark horse programmer] SQL optimization
- Ht8513 single lithium battery power supply with built-in Dynamic Synchronous Boost 5W mono audio power amplifier IC solution
- [he doesn't mention love, but every word is love]
- 【2022黑马程序员】SQL优化
猜你喜欢

DataX tutorial (10) - hot plug principle of dataX plug-in

原子Alpha开发板--SD卡和emmc烧录工具

Qcom--lk phase I2C interface configuration scheme -i2c6

Drawing shp files using OpenGL

父爱的表达方式

アルマ / 炼金妹

Ctfhub web information disclosure directory traversal

Cs4344/ht5010 stereo d/a digital to analog converter
![[2022 dark horse programmer] SQL optimization](/img/68/92ee1ff47428e17aca0feb0e33382e.png)
[2022 dark horse programmer] SQL optimization

sin(a+b)=sina*cosb+sinb*cosa的推导过程
随机推荐
Acwing / 2004. Mauvaise écriture
深入解析 Apache BookKeeper 系列:第三篇——读取原理
基於 KubeSphere 的分級管理實踐
アルマ / alchemy girl
Message queue table structure for storing message data
[轻松学会shell编程]-5、计划任务
2022 biological fermentation Exhibition (Jinan), which is a must read before the exhibition. The most comprehensive exhibition strategy will take you around the "fermentation circle"
【工具分享】一款颜值与技能并重的软件
Several schemes of traffic exposure in kubernetes cluster
Atomic alpha development board -- SD card and EMMC burning tool
Can TCP syn handshake messages transmit data
Derivation of sin (a+b) =sina*cosb+sinb*cosa
レレ / 蕾蕾
燕京啤酒何以至此?
sin(a-b)=sina*cosb-sinb*cosa的推导过程
Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
Modify the default log level
Ht7180 3.7V L 12v/2a built in MOS high current boost IC solution
sin(a+b)=sina*cosb+sinb*cosa的推导过程
Cs5092 5V USB input boost two section lithium battery charging management IC, SOT23-6 miniature package