Bug 1627 - Storyboard files do not respect the iphone/ipad option properly
Summary: Storyboard files do not respect the iphone/ipad option properly
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-10-21 05:39 UTC by Alan McGovern
Modified: 2011-10-24 09:39 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-10-21 05:39:01 UTC
And the text:

I've upgraded to iOS SDK version 5 , XCode 4.2 , Monodevelop 2.8.1 and monotouch 5.0.

I'm trying to create a new project based on storyboard, I choose "New Solution", "C#", "MonoTouch", "IPad StoryBoard", "SingleView Application".

The solution is created correctly and the first build succeed.

When I edit the .storyboard file XCode opens the Interface builder showing the IPHONE interface 320x480.

I've tried to change this option: - MonoTouch - Project Options - IPhoneBuild - SDK version : 5.0 But no luck.

If I run the project from Monodevelop the application is emulated as IPAD.

I've edited the storyboard as source file and it's the IPhone storyboard

If I try to create a standard IPAD project with no storyboard the XCode editor shows the IPAD interface.

Is this a bug in monodevelop?

What steps do I need to follow in order to have the IPAD interface?
Comment 2 Alan McGovern 2011-10-21 05:39:58 UTC
This issue is more than likely because the templates which are used for storyboard files are creating a xib which defaults to iPhone regardless of the project type.
Comment 4 Alan McGovern 2011-10-24 09:39:47 UTC
Hi,

This has been fixed now and will be in the next release of MonoDevelop. Thanks for reporting this!