views:

103

answers:

1

Hi, this a very basic question but i don't know how to make pop a view over the tabbarcontroller for exemple i got a tabbar and i got a 'add' baritembutton and i want a view to come from down and don't see the tabbar anymore.

thx

+1  A: 

Use presentModalViewController:

[yourTabBarController presentModalViewController:viewController animated:YES];

where viewController is the view controller you want to show

To remove the modal view controller use:

[yourTabBarController dismissModalViewControllerAnimated:YES];
pheelicks
ty !!! it works
nice but do you know how to remove it?
@1nz4ne, if an answer solves your question you should accept it by using the tick next to the answer
pheelicks