[英]Navigation Bar Title Not Displaying On Storyboard Screen
I've tried to change the text color for the Navigation Item's title, but I've had no luck. 我试图更改导航项标题的文本颜色,但是我没有运气。 It doesn't display at the Storyboard either at the running app.
它也不会在正在运行的应用程序的情节提要中显示。
These are the properties I've tried to change, but titles aren't displaying at the View Controllers. 这些是我尝试更改的属性,但标题未显示在视图控制器上。
The problem was I was embedding the view into a tab controller after the navigation controller. 问题是我将视图嵌入到导航控制器之后的选项卡控制器中。 I invert the order (that's the right way tab->nav->view) and now title is displaying.
我反转顺序(这是tab-> nav-> view的正确方式),现在显示标题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.