iOS Guides | Samples

MonoTouch.UIKit.UIImage.FromFileUncached Method

Alias to FromFile, merely with a more explicit name to draw attention to the cache-less nature of this call compared to FromBundle.

Syntax

[System.Obsolete("This is identical to FromFile. Caching is done when using FromBundle")]
public static UIImage FromFileUncached (String filename)

Parameters

filename
contains the path of the image file to load.

Returns

Remarks

Unlike the FromBundle method that keeps a cache of images in memory based on their path name, this method merely loads the image and keeps no internal copies in a cache.

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0