开发者

Open a view over the tabbarcontroller [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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' baritembutt开发者_JAVA百科on and i want a view to come from down and don't see the tabbar anymore.

thx


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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜