iOS:在 viewControllers 的导航栏下方添加视图 [英] iOS:Add view below navigation bar across viewControllers
本文介绍了iOS:在 viewControllers 的导航栏下方添加视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个这样的项目:
但我想弄清楚如何在导航栏下方的导航栏下方添加横幅,如果需要,我可以将其隐藏.你们有人知道我该怎么做吗?
But I'm trying to figure out how to add a banner below the navigation bar across the navigation bar in a way where can I hide it if is need it. Any of you knows how can I do this?
推荐答案
请使用 TSMessages.
plz use TSMessages.
这个库提供了一个易于使用的类来在屏幕顶部显示小通知视图
This library provides an easy to use class to show little notification views on the top of the screen
https://github.com/KrauseFx/TSMessages
这篇关于iOS:在 viewControllers 的导航栏下方添加视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文