Does Monotouch support the iPhone/iPad “universal app”? If so, where can I find the docs on how to do it?
Does Monotouch support the iPhone/iPad universal app? If so, where can I find the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, of course! Miguel De Icaza has done a very good job with Monotouch.
Under Project settings, select IPhone Application and then specify the target for your application: IPad only, IPhone only or both.
Rembember that when you want to create an universal app, you have to provide specific sizes for each device (views, orientations,images and so on).
To check the current device and customize your app for iPad and iPhone you can use the following property and verify if it contains ipad string. You can create a global boolean variable (a static variable for example and check the if your app is running on iPhone or iPad). To test run with the right simulator: obviously iPhone or iPad simulator.
Cheers.