If you really want to do this (it's pretty nonstandard UI...), then you could add an empty view controller, but in your tab bar delegate implement.
Up vote 0 down vote favorite share g+ share fb share tw.
In my iPad app, I have a UITabBarController at the bottom with a bunch of view controllers associated to a bunch of tabs. I would like to have a tab that shows a pop over when the tab is touched. I know how to use the UIPopoverController, but I don't know how to add a tab to a UITabBarController without giving the tab bar controller a UIViewController.
Any suggestions on how to do this? Thanks. Here is the code that I have to show the pop over.
(Source) CGFloat tabBarHeight = self. TabBarController.tabBar.bounds.size. Height; CGRect rect = CGRectMake(0, 0, tabBarHeight, tabBarHeight); popoverController presentPopoverFromRect:rect inView:self.
TabBarController. TabBar permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES; ios ipad uipopovercontroller link|improve this question asked Aug 24 '11 at 18:29David2,170523 90% accept rate.
If you really want to do this (it's pretty nonstandard UI...), then you could add an empty view controller, but in your tab bar delegate implement - (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController And return NO for that view controller (so it doesn't get selected) but instead show your popover.
– David Aug 24 '11 at 18:43 Hm, that will be harder. Perhaps you should use your own UITabBar (not connected to a UITabBarController). – jtbandes Aug 24 '11 at 18:53 Thanks.
I decided to use my own UITabBar. It works, but the more tab button will not be automatically created. – David Aug 26 '11 at 3:14.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.