iOS Swift App SceneKit with UINavigationController -
i'm developing app on ios using uikit, it's informations , health app, not game. it's company produces chairs, planned add 3d models of each chair in small view.
i managed import 3d-models chair.dae , display them using scnview. complete app build storyboard , segues, combined uinavigationcontroller, user , forth on navigationbar.
now problem is, navigationbar on every other viewcontroller working intended. on viewcontroller has scnview added, there no navigationbar @ all. used normal viewcontroller, added scnview , connected navigation show detail segue.
another issue is, while views pulled right side of screen when switch, 1 pulled bottom , replaces everything
is there way force show navigation bar? tried following, didn't change anything
navigationcontroller?.navigationbar.hidden = false
that sounds correct behavior show detail. per apple's view controller programming guide ios:
this segue displays new content using showdetailviewcontroller:sender: method of target view controller. segue relevant view controllers embedded inside uisplitviewcontroller object. segue, split view controller replaces second child view controller (the detail controller) new content. other view controllers present new content modally.
(emphasis added).
why not show instead?
Comments
Post a Comment