Re: Help with Storyboard Problem
Re: Help with Storyboard Problem
- Subject: Re: Help with Storyboard Problem
- From: Quincey Morris <email@hidden>
- Date: Mon, 19 Jun 2017 13:31:30 -0700
On Jun 19, 2017, at 11:24 , Dave <email@hidden> wrote:
>
> I’ve tried using Segues but can’t get that to work
You haven’t said what “can’t get that to work” means. What do you expect? What
happens? What does your view controller hierarchy look like.
> so instead of setting myView =
> call:
> [self presentViewController:myGameViewController animated:YES completion: nil]
According to the documentation, this does a *modal* presentation, which doesn’t
sound like what you want.
If you’re trying to replace your root view controller, you can do that, but not
via a segue. If you want to a segue, you need to embed your “apparent” root
view controller inside a container VC that’s really the root, and then you can
use a segue to replace “apparent” with “new apparent”.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden