Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2010, 09:24 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 37
paulperry is on a distinguished road
Default Universal App - events fire in iPhone XIB but not iPad XIB

Hey, I've been banging my head on this for a couple of days...anybody have any ideas?

I have a Universal App, which I upgraded in XCode. It runs in iPhone and iPad.

I have a separate xib file for each device. I actually made a copy of my project and did an upgrade in Xcode to create two apps, and XCode created the iPad XIB's for me, which I then copied into my universal app project, and added to my project (which, for some reason XCode did not make copies of all the XIBs, and only gave me an additional mainwindow.xib).

I had to update the MainWindow.xib and MainWindow-ipad.xib to get to the root controller correctly, and updated the info.plist to point to the NSMainNibFile-iPad key.

I changed the code to use a call out a different XIB file, depending on which device it is running on, and all this is working fine.

The problem is that the iPad version does not respond to any touches on the screen (other then navigation controller back to root view). Even a navigation item on the right has no response ONLY ON THE iPAD. Running on the iPhone works fine (which has a different xib for the smaller screen, but the viewcontroller is the same).

I have checked for "User Interactivity Enabled" and that is checked in the both versions. I have compared the settings side-by-side with the regular and the iPhone version and they all seem to line up.

I have UILabel controls that get updated in the iPad version. I have checked in the debugger, and the instance values appear valid (they are not null).

Does anybody have any ideas? I am grateful for anything...

Many Thanks,
Paul
__________________
My Apps: Word Zapper / MyThoughts+ / MyThoughts / Nothing / Chicks Only
paulperry is offline   Reply With Quote
Old 06-19-2010, 03:22 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 3
pogitalonx is on a distinguished road
Default

Have you solved this yet? I've been banging my head against the wall for 2 hours trying to figure this out! ARG!

Quote:
Originally Posted by paulperry View Post
Hey, I've been banging my head on this for a couple of days...anybody have any ideas?

I have a Universal App, which I upgraded in XCode. It runs in iPhone and iPad.

I have a separate xib file for each device. I actually made a copy of my project and did an upgrade in Xcode to create two apps, and XCode created the iPad XIB's for me, which I then copied into my universal app project, and added to my project (which, for some reason XCode did not make copies of all the XIBs, and only gave me an additional mainwindow.xib).

I had to update the MainWindow.xib and MainWindow-ipad.xib to get to the root controller correctly, and updated the info.plist to point to the NSMainNibFile-iPad key.

I changed the code to use a call out a different XIB file, depending on which device it is running on, and all this is working fine.

The problem is that the iPad version does not respond to any touches on the screen (other then navigation controller back to root view). Even a navigation item on the right has no response ONLY ON THE iPAD. Running on the iPhone works fine (which has a different xib for the smaller screen, but the viewcontroller is the same).

I have checked for "User Interactivity Enabled" and that is checked in the both versions. I have compared the settings side-by-side with the regular and the iPhone version and they all seem to line up.

I have UILabel controls that get updated in the iPad version. I have checked in the debugger, and the instance values appear valid (they are not null).

Does anybody have any ideas? I am grateful for anything...

Many Thanks,
Paul
pogitalonx is offline   Reply With Quote
Old 06-19-2010, 03:31 PM   #3 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 3
pogitalonx is on a distinguished road
Default

I've fixed this!!! Open up your new XIB file and go to Inspector for your MainWindow object.. and make sure "Full Screen at Launch" is checked. So frustrating!
pogitalonx is offline   Reply With Quote
Old 09-12-2010, 07:17 AM   #4 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 1
its.medanny is on a distinguished road
Default Thanks

Quote:
Originally Posted by pogitalonx View Post
I've fixed this!!! Open up your new XIB file and go to Inspector for your MainWindow object.. and make sure "Full Screen at Launch" is checked. So frustrating!
I Create account on that website to say THANK YOU to you
I was scratching my head for last 15 hours.
hats off
Excellent
its.medanny is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 334
11 members and 323 guests
Absentia, Domele, fiftysixty, givensur, heshiming, iGamesDev, linkmx, michaelhansen, PixelInteractive, raihan.zbr, Sloshmonster
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,892
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:11 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0