Note that there are some explanatory texts on larger screens.

plurals
  1. POWhen trying to segue, nothing happens
    text
    copied!<p>I have an app I am working on, and I am trying to have the logo on for a bit longer, and fade out/slide out/effect when it's done.</p> <p>Here's my setup: <img src="https://i.stack.imgur.com/c9F0j.png" alt="Setup"></p> <p>The Tab Bar controller is not letting me place an Image View inside it, so I created a view to have it on.</p> <p>I am trying to have the logo stay on for a bit, fade out, then automatically switch the view (Segue) to the Tab Bar controller.</p> <p>This is what I get out of it: <a href="http://youtu.be/l4jL0BfpR2k" rel="nofollow noreferrer">http://youtu.be/l4jL0BfpR2k</a></p> <p>So here's my code:</p> <pre><code>// // BDNLogoViewController.m // Bronydom Network // // Created by name on 10/1/13. // Copyright (c) 2013 name. All rights reserved. // #import "BDNLogoViewController.h" #import "BDNTabBarController.h" #import "BDNFirstViewController.h" @interface BDNLogoViewController () @end @implementation BDNLogoViewController - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization } return self; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. [UIView animateWithDuration:1 animations:^{ _imageview.alpha = 0; }]; //BDNTabBarController *viewController = [[BDNTabBarController alloc] init]; //[self.navigationController pushViewController:viewController animated:YES]; (void)@selector(seguePerform:); } - (void)seguePerform:(id)sender { //BDNTabBarController *myNewVC = [[BDNTabBarController alloc] init]; // do any setup you need for myNewVC [self performSegueWithIdentifier:@"open" sender:sender]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end </code></pre> <p>Yes, "open" is defined as the segue id.</p> <p>Do you guys have any ideas on how I could fix this?</p>
 

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