Running universal iOS app on iPad tries to call iPhone-only class?

Describe the approach that you took to do the universal app. Do you have two appDelegates? In anyway, make sure in the plist you define both the iPhone and iPad Main .

Xib files with the keys NSMainNibFile and NSMainNibFile~ipad.

Up vote 3 down vote favorite share g+ share fb share tw.

I am currently writing an app on xCode, for both iPhone and iPad. It is universal. I have finished the iPhone part, but I am stuck for 2 days on iPad part.

I have created all the views etc for iPad, different from iPhone one. When I connect a button on iPad view controller to a iPad view, it just crashes: Terminating app due to uncaught exception, HelloiciousViewController aboutWindowOpener: unrecognized selector sent to instance 0x5b7c180. HelloiciousViewController is the iPhone view controller, the main one, and I have nothing to do with it on iPad.

But it somehow connects to it and tries to launch aboutWindowOpener method on it. My iPad aboutWindow open method is aboutWindowAc . Checked everything ten times, it has nothing to do with iPhone interface.

Why does this happen? Iphone objective-c ios ipad link|improve this question edited Sep 15 '11 at 10:49Joachim Sauer72.4k5116218 asked Sep 15 '11 at 10:42Mert Dumenci293 0% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions