iPhone: Little Problem with View-Hierarchy
Hi There,
I've build a little UIViewController with it's views for blending the screen of my app to black with alpha.
I take the View, add it as a subview, bring it to front end tell my controller to startAnimating.
This works fine in a demo-project but in the "real world" I have to call it from inside of a Navigation Controller.
So what happend:
Only the actual View is blendend - without the NavigationBar
I've testet it to invoke directly at the app-dalegate:
ActivityViewController *actvie = [[ActivityViewController alloc] init];
[window addSubview:[actvie view]];
[window bringSubviewToFront:[actvie view]];
[actvie startAnimating];
this does the right thing.
Could someone tell me, how to push the view controller from within a View on the NavigationControllers stack tho the highest hierarchy?
Sorry for this bad english.
Thanks all
Chris
Message was edited by: Silversurfer01
I've build a little UIViewController with it's views for blending the screen of my app to black with alpha.
I take the View, add it as a subview, bring it to front end tell my controller to startAnimating.
This works fine in a demo-project but in the "real world" I have to call it from inside of a Navigation Controller.
So what happend:
Only the actual View is blendend - without the NavigationBar
I've testet it to invoke directly at the app-dalegate:
ActivityViewController *actvie = [[ActivityViewController alloc] init];
[window addSubview:[actvie view]];
[window bringSubviewToFront:[actvie view]];
[actvie startAnimating];
this does the right thing.
Could someone tell me, how to push the view controller from within a View on the NavigationControllers stack tho the highest hierarchy?
Sorry for this bad english.
Thanks all
Chris
Message was edited by: Silversurfer01
MBP Late 2008, Mac OS X (10.5.7)