Attempt to present ViewController whoseview is not in the windowhierarchy- (void)alertViewUIViewController *vc = [storyboard instantiateViewControllerWithIdentifier:@"Vibes"];}W
但是它会给我这个错误,Warning: Attempt to present <DefaultViewController: 0xb96cac0> on <MainViewController: 0xb95c320> whoseview is not in the windowhierarchy!init];
UIViewController *presentingController = [[[[UIApplication sharedApplication] delegate] <em
我想将pdf附加到邮件中,但当我在iOS 8中运行时,当我打开activity时,收到以下错误Warning: Attempt to present <MFMailComposeViewController:> on <> whoseview is not in thewindowhierarchy!UIPopoverCo
Warning: Attempt to present <MPMoviePlayerViewController: 0x1568fcd0> on <ViewController: 0x1554e3e0> whoseview is not in the windowhierarchy!view is not in the windowhierarchy!view is not in the window <e
alert.addAction(UIAlertAction(title: "Click", style: UIAlertActionStyle.Default, handler: nil))
self.windowAttempt to present <UIAlertController: 0x7ff6cd827a30> on <Messenger.WelcomeController: 0x7ff6cb51c940> whoseview is not in the window
currentTopViewController UIViewController *topVC = [[[[UIApplication sharedApplication] delegate] windowYES completion:nil];Warning: Attempt to present UIAlertController on MyViewController whoseview is not in the windowhierarchy!