Hi, I'm trying to make an iPhone app that displays text when you press a button. I'm using this code:
You must Login or Register to view and contribute code! This is done to increase participation in helping one another out, if you have been helped please pass on the favor.
[display setStringValue:@"Hello World"];
However, when I run it the app freezes, with the button down not allowing me to exit the app.
I'm assuming that code may only be Cocoa and not Cocoa Touch. Can someone let me know what code I should use?
Thanks in advance.