如何在iPhone中的UITabBarItem click上加载xib
我制作了一个自定义工具栏,并添加了一个uitabaritem。现在我想在点击按钮时加载一个xib。我如何才能做到这一点?将操作赋予该UITabritem…并在该操作中给出您要加载的xib的名称如何在iPhone中的UITabBarItem click上加载xib,iphone,Iphone,我制作了一个自定义工具栏,并添加了一个uitabaritem。现在我想在点击按钮时加载一个xib。我如何才能做到这一点?将操作赋予该UITabritem…并在该操作中给出您要加载的xib的名称 -(IBAction)ButtonAction{ //eg:- is shown below FreeSetsViewController *viewController =[[FreeSetsViewController alloc] initWithNibName:@"FreeSetsVie
-(IBAction)ButtonAction{
//eg:- is shown below
FreeSetsViewController *viewController =[[FreeSetsViewController alloc] initWithNibName:@"FreeSetsViewController" bundle:nil];
[self.navigationController pushViewController: viewController animated: YES];
[viewController release];
//you will get the required XIB
}
如果你仍然无法得到它,那么请从已经询问过的人那里获得帮助,以及Sam Dufel分享给你的链接
祝你好运 你到底遇到了什么问题…你对按钮采取了行动???然后你得到了什么?