generally, you need to declare variables at the class level (instead of
locally) to prevent them from being garbage collected once they're out of
scope

On Thu, Jan 26, 2012 at 10:49 AM, Shabby <[email protected]> wrote:

> Hi,
>
> I'm very new in the Mono and App Development.
> At first I've done the beginner tutorial from the MonoTouch.
> I've done anything like in the tut. but when I want to run my applikation,
> I got the same exception.
>
> How can I keep the reference on my object (UIApplication.Main ...)
>
> sry for the beginner question ^^
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Any-ideas-what-this-could-be-tp3717559p4330939.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