MonoTouch.UIKit.UIImage.CreateAnimatedImage Method
Factory method to create an animated image with end caps and the specified resizingMode.

Syntax

[MonoTouch.Foundation.Export("animatedResizableImageNamed:capInsets:resizingMode:duration:")]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_6_0)]
[MonoTouch.ObjCRuntime.ThreadSafe]
public static UIImage CreateAnimatedImage (string name, UIEdgeInsets capInsets, UIImageResizingMode resizingMode, double duration)

Parameters

name
The path and filename of images to load, without the suffix (i.e. .JPG)
capInsets
This argument lets you specify the top, left, bottom and right inset (the sizes of your images).
resizingMode
Controls whether the areas are stretched or tiled.
duration
Duration of the animation.

Returns

Documentation for this section has not yet been entered.

Remarks

Consider the following image, the capInsets specify these borders:

The resizing mode controls whether the image is stretched or tiled

This can be used from a background thread.

Requirements

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