Re: iPad UIViewController craziness
Re: iPad UIViewController craziness
- Subject: Re: iPad UIViewController craziness
- From: Rafael Cerioli <email@hidden>
- Date: Mon, 10 May 2010 16:27:08 -0400
If you can't see the view, I'd say that the NIB file might not be loaded properly. You should check if your current target points toward the info.plist file you expect (project, edit active target, build tab, check Info.plist file), and then check that your info.plist mentions the right NIB (key "NSMainNibFile").
Le 10 mai 2010 à 16:13, Luke the Hiesterman a écrit :
> For problems like this, you should post a sample project. Otherwise, it's just a guessing game as to what might be missing.
>
> Luke
>
> On May 10, 2010, at 1:10 PM, banane wrote:
>
>> I'm porting an iPhone app to the iPad, and am having issues getting my
>> view to appear. I have a sample app I've created, and done nothing to
>> (except change background color). BTW I can do this many different
>> ways in iPhone, it's just issues in the iPad I'm having.
>>
>> I brought the XIB and Classes from the sample app into the ported app
>> and I can't get that view to display either.
>>
>> Everything looks kosher in IB:
>> (MainWindow)
>> - File owner is UIApp
>> - App delegate points to app delegate
>> - view controller load the right XIB and points to the app delegate
>> (this is all matched to the sample app, that works).
>> (ViewController)
>> view points to file owner
>> file owner shows view->view
>> (again, this same view controller works in sample app as is)
>>
>> In the code, the classes all build with out warnings or errors, and
>> look like the sample app.
>>
>> But for some reason this isn't displaying on the iPad. the ported app
>> is also built from a sample app, with methods copied in (vs. trying to
>> jerryrig an iPhone app).
>>
>> Are there any tips or warnings from folks who have successfully built
>> or ported apps to iPad? I've built a simple iPad app before, but was
>> starting from scratch not trying to move existing logic or objects
>> over.
>>
>> I've googled it but haven't found anything re: iPad specific
>> viewControllers, etc. Oh, and this isn't a split view, just a simple
>> view controller.
>>
>> Thanks
>> Anna
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden