当前位置:网站首页>Set status bar style demo
Set status bar style demo
2022-07-06 21:58:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm the king of the whole stack .
The effect achieved :
The color changes from black to white
// Set the style of the status bar
– (UIStatusBarStyle)preferredStatusBarStyle
{
returnUIStatusBarStyleLightContent;
}
// changes navigationBar The color of the
self.navigationBar.barTintColor = [UIColor colorWithRed:79 / 255.0 green:195 / 255.0 blue:137 / 255.0 alpha:1.0];
// changes navigationBar The rendering color of the content on
self.navigationBar.tintColor = [UIColorwhiteColor];
such as : The original picture is :
Formatted As shown in the picture
// changes navigationBar The rendering color of the content on
self.navigationBar.tintColor = [UIColor whiteColor];
Copyright notice : This article is the original article of the blogger . Blog , Do not reprint without permission .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/117063.html Link to the original text :https://javaforall.cn
边栏推荐
- Redistemplate common collection instructions opsforzset (VI)
- Depth first traversal (DFS) and breadth first traversal (BFS)
- [Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)
- Broadcast variables and accumulators in spark
- MySQL removes duplicates according to two fields
- 抖音将推独立种草App“可颂”,字节忘不掉小红书?
- Dialogue with Jia Yangqing, vice president of Alibaba: pursuing a big model is not a bad thing
- The relationship between root and coefficient of quadratic equation with one variable
- PostgreSQL 修改数据库用户的密码
- OpenCV300 CMake生成project在项目过程中的问题
猜你喜欢
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
Earned value management EVM detailed explanation and application, example explanation
功能强大的国产Api管理工具
用aardio写一个旋转验证码标注小工具
中国白酒的5场大战
关于程序员的职业操守,从《匠艺整洁之道》谈起
Why is the cluster mode of spark on Yan better than the client mode
Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
[Li Kou brush questions] 32 Longest valid bracket
LeetCode学习记录(从新手村出发之杀不出新手村)----1
随机推荐
1292_ Implementation analysis of vtask resume() and xtask resume fromisr() in freeros
numpy 下载安装
Yyds dry goods inventory C language recursive implementation of Hanoi Tower
SQL:存储过程和触发器~笔记
Numpy download and installation
Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
Happy sound 2[sing.2]
1292_FreeROS中vTaskResume()以及xTaskResumeFromISR()的实现分析
Guava: three ways to create immutablexxx objects
NPM run dev start project error document is not defined
string的底层实现
Basic introduction of figure
C how to set two columns comboboxcolumn in DataGridView to bind a secondary linkage effect of cascading events
C语言:#if、#def和#ifndef综合应用
【sciter Bug篇】多行隐藏
[Chongqing Guangdong education] Information Literacy of Sichuan Normal University: a new engine for efficiency improvement and lifelong learning reference materials
Sequoia China, just raised $9billion
[Yu Yue education] higher mathematics of Nanchang University (2) reference materials
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
GPS从入门到放弃(十七) 、对流层延时