GKAchievementDescription.LoadImageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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.