ios - Why does app work on iPhone, not iPad? -


i started iphone-only app, worked fine on both iphone , ipad (it ran in small, iphone-sized window on ipad... fine). selected iphone/ipad target device family, , created blank myviewcontroller~ipad.xib. decided revert app former self, , deleted ~ipad.xib , set target device family iphone only.

now, view displayed before on ipad, cannot interact view. works on iphone, on ipad, seems buttons not linked corresponding actions. but, there on nib now, buttons linked, because work on iphone.

per @wrights suggestion, deleted of simulator files , clean project again. got new error: *** terminating app due uncaught exception 'nsinternalinconsistencyexception', reason: 'could not load nib in bundle: 'nsbundle </users/hap/library/application support/iphone simulator/5.1/applications/83becbaa-2558-4927-9347-fac972168299/wxt.app> (loaded)' name 'mainwindow-ipad''

the app crashes @ point.

i'd app working on ipad, before... single nib. appreciated!

it turns out there entry in info.plist causing issue. question "ios development: how can prevent ipad running universal app in ipad mode?" helped me find it.

image of plist entry: 'main nib file base name (ipad)

once deleted ipad related entry, cleared original issue , new error.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -