|Jan 20, 2009, 05:59 PM||#1|
Crash on view display (phone only; works in sim)
Earlier today, my program was running fine, but I decided I wanted one of my views to look almost identical to another. So, I copied and pasted the appropriate view in Interface Builder and hooked up the connections to what the old view had been hooked up to.
Now when it runs on my phone, the phone freezes as soon as it tries to display the view. The view is created, but when I try to display the view in a Navigation Controller with this line
[[self navigationController] pushViewController:newController animated:YES];
I used Time Machine to recover my old nib file, then I did a clean build. The problem persists. However, it runs correctly in the iPhone simulator.
Does anyone have any suggestions?
|Jan 20, 2009, 10:51 PM||#2|
Alright, I fixed the problem by restoring my whole project in Time Machine. I can replicate the problem by pasting a second view into a nib file (resulting in 2 windows), then deleting the original view. My program will then crash whenever it tries to display the view, and the problem persists if I restore the file to what it used to be.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Iphoto 11 keeps crashing on image imoport||cultivate||Mac Applications and Mac App Store||7||Mar 28, 2013 11:52 PM|
|App crashes when Archived using Release but works fine with Debug...||dbramhall||iPhone/iPad Programming||5||Apr 17, 2012 08:49 PM|
|Find my iPad crashing on iPad||ViperDesign||iPad Tips, Help and Troubleshooting||1||Jan 5, 2011 01:52 PM|
|Mac Mail Crashes On Reply, Replay All, New With Attachment Mac OS X 10.4||kmhebert||Mac Applications and Mac App Store||0||Nov 15, 2010 12:04 PM|
|Great deal on 1GB RAM on ebay($110) - will this work in my Mac Mini?||debroglie||Buying Tips, Advice and Discussion (archive)||2||Feb 6, 2005 11:29 AM|
All times are GMT -5. The time now is 01:29 PM.