There is a menu option that determines which mode to launch the simulator in
Away from my Mac at the moment so I can't tell you exactly where it is Sent from my iPhone On Sep 10, 2011, at 10:13 AM, jowi <[email protected]> wrote: > I've created a universal app using the approach in Bryan Costanich' book > (chapter 4, page 67) which basically means that you determine on > runtime/startup which device you're running on, and load the xib's for > either iphone or ipad accordingly. Problem is, for some reason using DEBUG > option the iPad simulator is always started, so my code finds an ipad > device, which is correct, and the ipad xib is loaded. So far so good. But i > want to debug an iPhone session as well... > > Once debugging using the simulator, if i change the simulator to iPhone, the > debug session stops, when i start the debug session again, the iPad sim is > started again. The 'Run with' option does start the iPhone simulator, and my > code uses the iPhone xib's, but... 'run with' is not a debug mode. > > I've also tried to change the project settings from 'ipad + iphone' to > 'iphone' but also then the ipad simulator is loaded... am i missing > something here? > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Howto-debug-on-IPad-with-Universal-Applications-Projecttype-tp3767705p3803940.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
