I believe setRootViewController was introduced with 4.0

http://stackoverflow.com/questions/4371304/uiwindow-setrootviewcontroller-equivalent-in-pre-4-0

On Mon, Nov 21, 2011 at 9:38 AM, Dave Richards <[email protected]> wrote:

> My iPhone app was working fine on iOS 5.0 but crashed on an older phone
> with
> iOS 3.1.3 and also crashes on another phone running iOS 3.1.2. Changing the
> deployment target back to iOS 5.0 for the same app it was also crashing.
>
> To keep things simple I created a single screen test app with only a title
> bar. Deployed this to the iPhone running iOS 3.1.3 and it crashed. This app
> however did run on the iPhone with iOS 5.0.
>
> I ran this smple app in Debug|iPhone mode and got the following exception:
>
> Objective-C exception thrown. Name: NSInvalidArgumentException Reason: ***
> _
> [UIWindow setRootViewController:] unrecognized selector sent to instance
> 0x752230
>
> Stack Trace:
>
> at MonoTouch.UIKit.UIWindow.set_RootViewController
> (MonoTouch.UIKit.UIViewController value) [0x00000] in <filename unknown>:0
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/App-crashing-on-iOS-3-1-2-and-iOS-3-1-3-tp4091918p4091918.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

Reply via email to