Crash on view display (phone only; works in sim) - MacRumors Forums
Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 20, 2009, 04:59 PM   #1
psychaosx
macrumors newbie
 
Join Date: Mar 2008
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
Code:
[[self navigationController] pushViewController:newController animated:YES];
the phone freezes.

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?
psychaosx is offline   0 Reply With Quote
Old Jan 20, 2009, 09:51 PM   #2
psychaosx
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
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.
psychaosx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
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

Forum Jump

All times are GMT -5. The time now is 11:23 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC