Hi David, UIImage.FromFileUncached() maps to imageWithContentsOfFile
UIImage.FromFile() maps to something else. Unfortunately the way we bound the API is a bit confusing :-\ Hope that helps, Jeff On Tue, Jan 17, 2012 at 8:01 AM, David Black <[email protected]>wrote: > ** ** > > Hi All**** > > ** ** > > Does anyone know how caching works with UIImage? Looking at the > documentation on go-mono**** > > it shows**** > > ** ** > > [MonoTouch.Foundation.Export("imageWithContentsOfFile:")] > public static > UIImage<http://docs.go-mono.com/monodoc.ashx?link=T%3aMonoTouch.UIKit.UIImage> > *FromFile* > (string<http://docs.go-mono.com/monodoc.ashx?link=T%3aSystem.String> > filename)**** > > ** ** > > And according to the apple doc imageWithContentsOfFile: does not cache > images, but UIImage in monodevelop has a method**** > > FromFileUncached which seems to indicate that the mono implementation > caches by default in FromFile. I am well confused here, anyone know**** > > the answer?**** > > ** ** > > Cheers**** > > ** ** > > D**** > > ** ** > > ** ** > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
