Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-22-2010, 07:23 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 8
Send a message via Skype™ to ideafactory
Default weird error when popToRootViewController

Hi, I have an Navigation-based app where i navigate trough some viewcontroller's. At this moment I have 2 viewcontrollers. In the second viewcontroller, i have a condition that if it's true i pop to the first viewcontroller with popToRooViewController. When I do this the app return's to the rootController but in debugger console appears this :

-[UIWindow endDisablingInterfaceAutorotation] called on <UIWindow: 0x3c04dd0; frame = (0 0; 320 480); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x3c05b90>> without matching -beginDisablingInterfaceAutorotation. Ignoring.
Terminating in response to SpringBoard's termination.





Hi, I have an Navigation-based app where i navigate trough some viewcontroller's. At this moment I have 2 viewcontrollers. In the second viewcontroller, i have a condition that if it's true i pop to the first viewcontroller with popToRooViewController. When I do this the app return's to the rootController but in debugger console appears this :

-[UIWindow endDisablingInterfaceAutorotation] called on > without matching -beginDisablingInterfaceAutorotation. Ignoring. Terminating in response to SpringBoard's termination.

I don't know why this is happen.

I create the project as a Navigation-Based application.In the mainWindow.xib it has the navigationController and as subview it has the navigationbar and the rootviewcontroller.

Then in the rootViewController I change to viewController instead of tableviewcontroller. The second viewcontroller is also a viewcontroller.

Here is the code when i call the rootcontroller:

Code:
else if (emptyTasks == YES && returnAddTask == NO)
{
    [self.navigationController popToRootViewControllerAnimated:YES]; // "Pushing the controller on the screen" 

    returnAddTask = YES;
}
Thanks for your help!!
ideafactory is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, navigation, uinavigationbarcontroller, uiviewcontroller

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 256
21 members and 235 guests
ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, LEARN2MAKE, nobre84, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:39 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0