I am using XCODE version 10.3. I have set up an single page application template:
First I embed the empty ViewController in a Navigation Controller using the embed button in the lower right hand corner of the XCODE GUI. Next I selected the canvas of the root view and used in object insert button to drag out a navigation bar into the root view's canvas and changed the title to "Hello World!".
When I run the app on a physical device I noticed that the navigation bar will appear with the title text "Hello World!" only for a second or two and then it will disappear and the only thing left showing will be a blank white canvas again as shewn also occuring in a simulated ipad 3rd generation device.
Also I would like to know how to obtain a reference object that becomes a member object of ViewController to the Navigation Bar UI element thats inserted and also I would like to find out why it disappears after about two seconds. I tried setting the deployment target between 12.3 and 12.4 but neither seemed to turn on solid the Navigation Bar UI element.
Also I tried dragging from the object insert button while the Navigation Bar area was selected in the storyboard editor and I tried dragging from the object insert button into the navigation bar area a new navigation item but nothing seems to show up anyplace. Only the title seems to show up and then disappears quickly.
Is it possible that there might be steps to get a reference object (or outlet?) to the navigation bar set up in the ViewController.swift thats autogenerated and also insert some items into the navigation bar either programmatically or by way of the object insert button?
Thank You!