I just added a few things to my app since logging on. Just some minor things, most of it not even code. Then I built and ran my app. But I get greeted with a black screen in the sim. Heres the details.
black screen.
status bar visible, the very first thing I do is hide it.
I have the debugger open. As soon as I click on the screen, I get the following.
thread 0 is titled asm__TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__
The highlighted line is as follows.
0x920d6ff4 <+0004> leave
The sim won't respond until I stop the task, then it goes to the home screen.
Here's what changes I made, in order, to the application.
First, in IB.
I added a couple buttons with custom graphics to a view. The buttons were copied from another view in the app, I know they don't cause it to freeze.
Then I added two labels and changed their text.
I added a partially opaque brown view, short but as wide as the superview, to the view, under the text and buttons.
I added a UITextView to another view, and edited the text. Then I set it to uneditable.
I went through my various views and set all my other UITextViews to uneditable, some of them already were.
In Xcode, after that,
I deleted a line of comment.
I added the following to a header file.
I added the following code to a method in the implementation file for the class.
At that point I compiled and ran, getting the results I got. So, going backwards, I started undoing what I did, except I didn't put the comment back. I commented out each of the above lines of code, in turn, and tried compiling. It still wouldn't work. So I deleted the various interfact objects, one by one, it still wouldn't work. I don't know what else to do. I don't know how to use the debugger, so if that's the solution I wouldn't know. But anyways, as far as I can tell it should be solved by now, whatever it was. What do I do??????
Nate
black screen.
status bar visible, the very first thing I do is hide it.
I have the debugger open. As soon as I click on the screen, I get the following.
thread 0 is titled asm__TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION__
The highlighted line is as follows.
0x920d6ff4 <+0004> leave
The sim won't respond until I stop the task, then it goes to the home screen.
Here's what changes I made, in order, to the application.
First, in IB.
I added a couple buttons with custom graphics to a view. The buttons were copied from another view in the app, I know they don't cause it to freeze.
Then I added two labels and changed their text.
I added a partially opaque brown view, short but as wide as the superview, to the view, under the text and buttons.
I added a UITextView to another view, and edited the text. Then I set it to uneditable.
I went through my various views and set all my other UITextViews to uneditable, some of them already were.
In Xcode, after that,
I deleted a line of comment.
I added the following to a header file.
Code:
id topView;
Code:
topView=sender;
At that point I compiled and ran, getting the results I got. So, going backwards, I started undoing what I did, except I didn't put the comment back. I commented out each of the above lines of code, in turn, and tried compiling. It still wouldn't work. So I deleted the various interfact objects, one by one, it still wouldn't work. I don't know what else to do. I don't know how to use the debugger, so if that's the solution I wouldn't know. But anyways, as far as I can tell it should be solved by now, whatever it was. What do I do??????
Nate