iphone - Showing a modal view controller from a tab bar app -


First of all, I'd like to warn that I'm a whole newbie in iPhone coding ...

Need to show a view controller from a library, I know that this model is a tab bar app (built with the default XCode template), I need to show that view controller is not a problem if it The tabbar itself is hidden ... but I am quite weird Do not know what to search or what to read ...

You can add another UIViewController < You can call to display / code> modally.

EDIT: If you want to display your model view in response to a button touch (for example), you will display it like this:

  - (IBAction) Button: (ID) Sender {ModalViewController * Controller = [[ModalViewController alloc] init]; [Self current model view controller: animated controller: yes]; [Controller release]; }   

Then when you want to dismiss the modal controller, delete the Delete Meridian Viewer: . It can be said either on your main view controller or model.

Comments