iOS IB故事板:导航栏在某些子视图中不显示

时间:2018-05-16 22:24:22

标签: ios uinavigationcontroller storyboard

见下图。我是标签栏控制器。我在导航控制器中嵌入了表格视图。我还有一个孩子表视图&两个UI视图。 如您所见,某些视图会显示导航栏,而其他视图则不会显示。为什么是这样?如何解决它。 我没有添加任何代码,只是在故事板中尝试。

enter image description here

1 个答案:

答案 0 :(得分:1)

看起来它显示的导航栏不是其他视图控制器的标题。那就是你看到import { } from '@types/googlemaps'; const RichMarker = require('js-rich-marker'); //problems started below when I use import { InfoBox } from 'google-maps-infobox-window'; // or this const InfoBox = require('google-maps-infobox-window'); //... //and try to use imported function (constructor) let infoBox = new InfoBox({content: boxText}); 的地方。如果在视图控制器上设置“标题”字段,则应在同一区域中看到标题。