탭 표시 줄에서 줄을 제거하도록 도와주세요!
`[[UITabBar appearance] setBackgroundImage:[[UIImage alloc] init]];` - NOT WORK
암호:
[[UITabBar appearance] setBarTintColor:[UIColor colorWithRed:54.0f/255.0f green:62.0f/255.0f blue:69.0f/255.0f alpha:1.0f]];
[[UITabBar appearance] setTintColor:[UIColor whiteColor]];
[[UITabBar appearance] setBackgroundImage:[[UIImage alloc] init]];
[[self.tabBar.items objectAtIndex:0] setFinishedSelectedImage:[UIImage imageNamed:@"barMap.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"barMapNo.png"]];
[[self.tabBar.items objectAtIndex:2] setFinishedSelectedImage:[UIImage imageNamed:@"barNews.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"barNewsNo.png"]];
[[self.tabBar.items objectAtIndex:1] setFinishedSelectedImage:[UIImage imageNamed:@"barNew.png"] withFinishedUnselectedImage:[UIImage imageNamed:@"barNewNo.png"]];
을 제거하려는 경우 shadowImage
수행하는 것과 동일한 작업을 수행하되 backgroundImage
.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다