How to use UIApp and NSApp for iphone application?
Hi! I am a newbie in iPhone apps development. Recently I was applying someone's engine to my application which has a line:
[NSApp terminate:self];
when I compile it, the error shows:
'NSApp undeclared'
I thought maybe it's because my application is for iphone, I changed it to:
[UIApp terminate:self];
but still the error says:
'UIApp undeclared'
Can anyone please let me know what's the problem? Thanks!
[NSApp terminate:self];
when I compile it, the error shows:
'NSApp undeclared'
I thought maybe it's because my application is for iphone, I changed it to:
[UIApp terminate:self];
but still the error says:
'UIApp undeclared'
Can anyone please let me know what's the problem? Thanks!
Mac Pro, Mac OS X (10.5.7)