当前位置:网站首页>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
边栏推荐
- 基于InsightFace的高精度人脸识别,可直接对标虹软
- Reinforcement learning - learning notes 5 | alphago
- Method return value considerations
- GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差
- Redistemplate common collection instructions opsforlist (III)
- Unity3D学习笔记6——GPU实例化(1)
- GPS from entry to abandonment (XIV), ionospheric delay
- Shell product written examination related
- MySQL - transaction details
- Codeforces Round #274 (Div. 2) –A Expression
猜你喜欢
Aggregate function with key in spark
Caching strategies overview
Sparkshuffle process and Mr shuffle process
1292_ Implementation analysis of vtask resume() and xtask resume fromisr() in freeros
爬虫实战(五):爬豆瓣top250
Leetcode topic [array] -118 Yang Hui triangle
Microsoft technology empowerment position - February course Preview
GPS从入门到放弃(十九)、精密星历(sp3格式)
GPS从入门到放弃(十三)、接收机自主完好性监测(RAIM)
uni-app App端半屏连续扫码
随机推荐
强化学习-学习笔记5 | AlphaGo
Mysql相关术语
What can one line of code do?
PostgreSQL modifies the password of the database user
C语言:#if、#def和#ifndef综合应用
The underlying implementation of string
GPS从入门到放弃(十五)、DCB差分码偏差
基于InsightFace的高精度人脸识别,可直接对标虹软
numpy 下载安装
NPM run dev start project error document is not defined
【MySQL】Online DDL详解
C language char, wchar_ t, char16_ t, char32_ Relationship between T and character set
记一次清理挖矿病毒的过程
Numpy download and installation
经纪xx系统节点VIP案例介绍和深入分析异常
华为在多个行业同时出击,吓人的技术让欧美企业瑟瑟发抖
Guava: use of multiset
The relationship between root and coefficient of quadratic equation with one variable
[go][reprint]vscode run a HelloWorld example after configuring go
Make menuconfig has a recipe for target 'menuconfig' failed error