Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hontrok

macrumors newbie
Original poster
Nov 14, 2012
5
0
Hello, my problem is that when I call the funtion:

Code:
[self performSegueWithIdentifier: @"FinalPlayPT" sender: self];

it works but I have this warning:

Warning: Attempt to present <FinPlayPT: 0x9363580> on <PlayPT: 0x7a86c30> whose view is not in the window hierarchy!

I'am using storyboard, xcode 4.5.2 and iOS6, any ideas? Thanks.

By the way, if I use a UIButton for the segue, there is no warning, but I need to do it programmly.


I've been trying all the was to call another VC and always the same warning.

I don't know what to do, please help me!!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.