Share via


UITabBarDelegate_Extensions 类

定义

接口的 IUITabBarDelegate 扩展方法,以支持协议中的所有方法 UITabBarDelegate

public static class UITabBarDelegate_Extensions
type UITabBarDelegate_Extensions = class
继承
UITabBarDelegate_Extensions

注解

的扩展方法 IUITabBarDelegate 允许开发人员将 接口的实例视为具有原始 UITabBarDelegate 协议的所有可选方法。 由于 接口仅包含所需成员,因此这些扩展方法允许开发人员调用协议的可选成员。

方法

DidBeginCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[])

指示自定义指定的 UITabBarItems 已开始。

DidEndCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[], Boolean)

指示对指定项的自定义已结束。

ItemSelected(IUITabBarDelegate, UITabBar, UITabBarItem)

指示已选择指定的 UITabBarItem。

WillBeginCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[])

指示自定义即将在指定的 UITabBarItems 上开始。

WillEndCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[], Boolean)

指示自定义即将在指定的 UITabBarItems 上结束。

适用于