On Jun 19, 2017, at 11:24 , Dave <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to