Presenting view controllers on detached view controllers is discouraged

时间:2015-07-28 16:52:21

标签: swift ios8

i have a IntroControllerPage1. In this Controller i check if "Intro" is set in func viewdidload with this code:

if defaults.objectForKey("Intro") != nil {
        performSegueWithIdentifier("SkipIntro", sender: nil)
    }

If yes -> "jump" to my next navigaton controller but then i get the following message:

Presenting view controllers on detached view controllers is discouraged <xxx.IntroControllerPage1: 0x154e0d140>. Unbalanced calls to begin/end appearance transitions for <UINavigationController: 0x154e0cd80>.

the app work fine, but i want to clear this message. how can i solve it in ios 8 with swift?

0 个答案:

没有答案