当前位置:网站首页>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
边栏推荐
- Caching strategies overview
- GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
- ViT论文详解
- 11、 Service introduction and port
- Leetcode learning records (starting from the novice village, you can't kill out of the novice Village) ---1
- 记一次清理挖矿病毒的过程
- Aggregate function with key in spark
- Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
- Guava: three ways to create immutablexxx objects
- Redistemplate common collection instructions opsforlist (III)
猜你喜欢

GPS从入门到放弃(十五)、DCB差分码偏差

Shake Sound poussera l'application indépendante de plantation d'herbe "louable", les octets ne peuvent pas oublier le petit livre rouge?

numpy 下载安装
![[Chongqing Guangdong education] Tianjin urban construction university concrete structure design principle a reference](/img/61/976c7d86ab3b2df5f5af3beefbf547.png)
[Chongqing Guangdong education] Tianjin urban construction university concrete structure design principle a reference

Caching strategies overview

20 large visual screens that are highly praised by the boss, with source code templates!

uni-app App端半屏连续扫码

Yyds dry goods inventory C language recursive implementation of Hanoi Tower

GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)

红杉中国,刚刚募资90亿美元
随机推荐
What is the RDD operator in spark
GPS从入门到放弃(十九)、精密星历(sp3格式)
Sdl2 source analysis 7: performance (sdl_renderpresent())
Leveldb source code analysis series - main process
Earned value management EVM detailed explanation and application, example explanation
50个常用的Numpy函数解释,参数和使用示例
Efficiency tool +wps check box shows the solution to the sun problem
[Li Kou brushing questions] one dimensional dynamic planning record (53 change exchanges, 300 longest increasing subsequence, 53 largest subarray and)
GPS从入门到放弃(十五)、DCB差分码偏差
Reinforcement learning - learning notes 5 | alphago
MySQL related terms
Depth first traversal (DFS) and breadth first traversal (BFS)
Sequoia China, just raised $9billion
Make menuconfig has a recipe for target 'menuconfig' failed error
OpenCV300 CMake生成project在项目过程中的问题
Why rdd/dataset is needed in spark
Persistence / caching of RDD in spark
guava:Collections.unmodifiableXXX创建的collection并不immutable
Univariate cubic equation - relationship between root and coefficient
Solution to the problem of UOS boot prompt unlocking login password ring