https://bugzilla.novell.com/show_bug.cgi?id=643570

https://bugzilla.novell.com/show_bug.cgi?id=643570#c0


           Summary: UIView.Animate() throws exception on the emulator
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7

UIView.Animate() throws exception on the emulator. 
Here is an example:
            UIView.Animate(0.7d, delegate 
            { 
                btnClose.Alpha = 1f;
                btnLock.Alpha = 1f;
            });
OR
            UIView.Animate(0.7d, () => 
            { 
                btnClose.Alpha = 1f;
                btnLock.Alpha = 1f;
            });

However the same code runs on iPhone3GS device without any problems.
Here is the exception message:

MonoTouch.Foundation.MonoTouchException has been thrown
"Objective-C exception thrown. Name: NSInvalidArgumentException Reason:
*** +[UIView animateWithDuration:animations:]: unrecognized selector sent to
class 0x374189c


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to