Partager via


UITabBarItem.SetFinishedImages(UIImage, UIImage) Méthode

Définition

Les développeurs d’applications doivent utiliser UIImageRenderingMode.AlwaysOriginal au lieu de cette méthode déconseillée.

[Foundation.Export("setFinishedSelectedImage:withFinishedUnselectedImage:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use the '(string, UIImage, UIImage)' constructor or the 'Image' and 'SelectedImage' properties along with 'RenderingMode = UIImageRenderingMode.AlwaysOriginal'.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetFinishedImages (UIKit.UIImage selectedImage, UIKit.UIImage unselectedImage);
abstract member SetFinishedImages : UIKit.UIImage * UIKit.UIImage -> unit
override this.SetFinishedImages : UIKit.UIImage * UIKit.UIImage -> unit

Paramètres

selectedImage
UIImage

À ajouter.

Ce paramètre peut être null.

unselectedImage
UIImage

À ajouter.

Ce paramètre peut être null.

Attributs

S’applique à