My questions is about the rules of the AppleStore App.
In the application I'm developing I have a UITabBarController. It is created in the AppDelegate and hidden ... Depending on the views is shown and hidden, as desired. It is right to implement that I am developing?
I have released very UIPickerViews but occupies space when I do landscape. I thought I'd create a DropDown as an alternative. Is it correct? There are more alternatives?
Apple can ban the publication of the App to be developed in this way?
Update
In AppDelegate have:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
_tabBarAppDelegate = [[UITabBarController alloc] init];
Método para esconder a UITabBarController
[ShowTabBarController hideTabBar:self.tabBarAppDelegate];
.....
}
Then when you want to show specific views in UITabBarController do :
-(void)createTabBarController
{
NSMutableArray * viewControllers = [ [ NSMutableArray alloc ] init ] ;
UITabBarController * TabBarController = [ [ UITabBarController alloc ] init ] ;
ViewController * viewController = [ [ ViewController alloc ] initWithNibName : @ " ViewController " bundle: nil ] ;
UINavigationController * navigationController = [ [ UINavigationController alloc ] initWithRootViewController : viewController ] ;
[ viewControllers addObject : navigationController ] ;
ViewController2 viewController2 * = [ [ VisitDetailsViewController alloc ] initWithNibName : @ " ViewController2 " bundle: nil ] ;
UINavigationController * navigationController2 = [ [ UINavigationController alloc ] initWithRootViewController : ViewController2 ] ;
[ viewControllers addObject : navigationController2 ] ;
tabBarController.viewControllers = viewControllers ;
self.navigationController.tabBarController.viewControllers = tabBarController.viewControllers ;
[ShowTabBarController showTabBar: self.navigationController.tabBarController];
}
Then I will changing the UITabBarController, show and hide. As I is requested by the client.