[Mono-bugs] [Bug 590240] Exception while using UISwipeGestureRecognizer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 23 00:08:14 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=590240

http://bugzilla.novell.com/show_bug.cgi?id=590240#c4


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
       InfoProvider|                            |elevenworks at gmail.com

--- Comment #4 from Geoff Norton <gnorton at novell.com> 2010-03-23 04:08:12 UTC ---
Jon,

  I swiped about 30 times without a crash on our latest release, are you still
seeing this on the latest version?  One point of note, your finishedlaunching
method looks like:

        public override bool FinishedLaunching (UIApplication app, NSDictionary
options)
        {
            GestureViewController controller = new GestureViewController ();
            UIView vView = controller.View;
            vView.Frame = UIScreen.MainScreen.ApplicationFrame;

            window.Add (vView);
            window.MakeKeyAndVisible ();

            return true;
        }

The View inside a Controller does not keep a ref to the controller, so upon
exiting this function the controller is free to be colelcted, you should keep a
reference to it somewhere.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list