IOS retain a viewcontroller

How can i go from a uitabbarcontroller to a viewcontroller in fullscreen, retaining all the data and views/tabs on the uitabbarcontroller?



Did you want to hide the TabBar or show a new view, but once you're done with the new view have the TabBar be unaffected?

In the case of the latter try something like:

ViewController *vc = [[ViewController alloc] initWith...];
[self presentModalViewController:vc];

Add ViewController on TabBar in fullScreen then:

ViewController *vc = [[ViewController alloc] initWithNibName:@"ViewController " bundle:nil];
[self presentViewController:vc animated:YES completion:NULL];

Now dissmiss that Modal Controller like this in any event( of button may be)

[self removeFromParentViewController];

After this your tabbar will as it is:

Need Your Help

Fatal error: Class CI_Session_files_driver contains 1 abstract method

php codeigniter

Fatal error: Class CI_Session_files_driver contains 1 abstract method

Javascript if/else statement isnt working however the code inside does as i have tested without the if/else

javascript html css if-statement width

Basically i have tried to create an if else statement that checks the width of a div and then depending on the result will expand or contract the iframe that i have inside. Their are no problems in