0
사용자가 탭간에 전환 할 때 UITabBar의 BarTintColor를 변경하려고합니다. (즉 ... 짧은 버전이다)TabBarItem을 선택하면 UITabBar BarTintColor가 변경됩니다.
public override void ItemSelected(UITabBar tabbar, UITabBarItem item)
{
base.ItemSelected(tabbar, item);
UITabBar.Appearance.BarTintColor = UIColor.Yellow;
}
이 작동하지 않고 예외가 발생합니다 : 나는 ItemSelected를 사용하려고했습니다
목표 - C 예외가 발생합니다. 이름 : NSInvalidArgumentException 이유 : - [MainTabs 한 tabBar : didSelectItem :] : 인식 할 수없는 선택기 내가 BarTintColor 탭의 사용자 스위치의 색상을 변경할 수있는 방법 예를 0x7d143e00
로 전송?