Share via


UITabBarItem.SetFinishedImages(UIImage, UIImage) 方法

定义

应用开发人员应使用 UIImageRenderingMode.AlwaysOriginal 而不是此已弃用的方法。

[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

参数

selectedImage
UIImage

内容待定。

此参数可以为 null

unselectedImage
UIImage

内容待定。

此参数可以为 null

属性

适用于