ios - Present UINavigationController from anywhere in view hierarchy? -
you'll note ton of people have written articles describing difficulty navigation controllers, , getting message "tried present xyz on abc view not in view hierarchy"
well, i'm having ton of similar issues, , suspect has trying present navigation controller ol' arbitrary view controller in view hierarchy, precisely i'm trying do.
as best can tell, every example i've found demonstrates using uinavigationcontroller, uses root view controller below window, , frustrating part no 1 makes clear whether in fact way can use uinavigationcontroller, or whether can use depth want in hierarchy , have work fine.
in case, i'm getting dreaded "view not in hierarchy" message well, , want know, true uinavigationcontroller must , used root of entire view hierarchy.
if that's not true, how can use arbitrary depth in hierarchy, because i'm not doing right, lol.
Comments
Post a Comment