|Jan 20, 2009, 04: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, 09: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|
|If I bought a phone on eBay that works with my network do I just put the SIM card in?||TH55||iPhone||7||May 24, 2014 01:15 AM|
|Installed ssd into iMac i7 3.4 broke data display cable, running ext. display crash||Msfsf||iMac||3||Dec 15, 2012 05:03 AM|
|make external display primary display when macbook display no longer works||Andy88!||Mac Basics and Help||1||Nov 3, 2012 07:36 PM|
|CONFIRMED: Cutting AT& Micro-SIM to Nano-SIM size works!||cbcarbaj||iPhone||0||Sep 23, 2012 03:17 PM|
|Confirmed: Cutting SIM to nano-SIM is easy and works!||mojo8472||iPhone||21||Sep 22, 2012 11:31 AM|
All times are GMT -5. The time now is 11:23 AM.