共用方式為


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

屬性

適用於