I have an app that has been running fine on the simulator, but crashes on a
real device.

I have a button on my main screen that in its touchupinside handler is
attempting to call presentviewcontroller to display another screen and my
app crashes with this:

*Objective-C exception thrown.  Name: NSInvalidArgumentException Reason:
-[UIDeviceRGBColor copyWithZone:]: unrecognized selector sent to instance
0x791b00*

I have another button on the same screen which presents a different
controller with practically identical code. This makes me suspect it is
something different in the xib file itself.

Any ideas why this would work on the simulator but fail on the real thing?



--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/PresentViewController-crashes-on-real-iPhone-tp4541141p4541141.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to