Hi, My Monotouch has been updated yesterday. Yesterday, all was fine. Now, this basic code doesn't work :
UIImage background = UIImage.FromFile(@"Images/texture.png"); UIColor myBgColor = UIColor.FromPatternImage (background); this.View.BackgroundColor = myBgColor; Error : myBgColor : unsupported colorspace component length 1 In fact, the Colorspace of CGImage of the UIImage is null because " the requested operation can be completed because the object has been garbage collected". ???? Can you help me ? Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Monotouch-6-Basic-code-crashed-tp4657121.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
