objective c - iPhone, how can I add a first view, show once, to a mainWindow but not have a tab bar button? -


i need have view shows first before other views doesn't have tab bar button.

is there way ?

edit: don't want show modally want use standard function show other views , having cater different ways of showing view messy.

you add tabbarcontroller in window once need , remove view it's superview discard , free memory.

something like:

- (void)applicationdidfinishlaunching:(uiapplication *)application {         [window addsubview:viewcontroller.view];     [window makekeyandvisible]; }  - (void)showtabbarcontroller {     [window addsubview:tabbarcontroller.view];     [viewcontroller.view removefromsuperview];     self.viewcontroller = nil; } 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -