Note that there are some explanatory texts on larger screens.

plurals
  1. POTabBar changes style after app-Introduction
    primarykey
    data
    text
    <p>I've the following problem: The design of my tabBar is set in AppDelegate.m:</p> <pre><code> self.tabBarController = (UITabBarController*)self.window.rootViewController; UITabBar *tabBar = self.tabBarController.tabBar; UITabBarItem *tabBarItem1 = [tabBar.items objectAtIndex:0]; tabBarItem1.title = @"Start"; // ... [tabBarItem1 setFinishedSelectedImage:[UIImage imageNamed:@"start_selected.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"start.png"]]; // ... </code></pre> <p>But after a first introduction pageViewController, which is opened in my tabBarController through an alert, the user goes back to the tabBarController. But then all my tabBar-settings from the appDelegate are gone...</p> <p>...method to go back to the tabBarController:</p> <pre><code>UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MyStoryboard" bundle:nil]; TabBarViewController *vc = (TabBarViewController *)[storyboard instantiateViewControllerWithIdentifier:@"TBVC"]; //this is the tabBarController in the InterfaceBuilder [self vc animated:YES completion:nil]; </code></pre> <p><strong>UPDATE</strong></p> <p>...I open the introduction in appDelegate:</p> <pre><code> self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.viewController = [[IntroViewController alloc] initWithNibName:@"IntroViewController" bundle:nil]; self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; </code></pre> <p>Maybe someone can help me and I hope my first question is not so bad.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload