开发者

Open a view over the tabbarcontroller [closed]

开发者 https://www.devze.com 2022-12-20 19:43 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
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

精彩评论

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

关注公众号