편집

다음을 통해 공유


GKAchievementDescription.LoadImageAsync Method

Definition

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UIImage> LoadImageAsync ();
public virtual System.Threading.Tasks.Task<UIKit.UIImage> LoadImageAsync ();
abstract member LoadImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>
override this.LoadImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>

Returns

The result is of type System.Threading.Tasks.Task<AppKit.NSImage> on MacOS and System.Threading.Tasks.Task<UIKit.UIImage> on iOS.

Attributes

Remarks

The LoadImageAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

Applies to