I have been using UITabbar in an app. There is an upper border line coming in top of the UITabbar. Refer below image :-
I Googled it and tried the suggested code like :-
[[UITabBar appearance] setShadowImage:[[UIImage alloc] init]];
Also
[[UITabBar appearance] setShadowImage:nil];
self.navigationController.toolbar.clipsToBounds = YES;
But none of them is working. Any solution?
tabBar.clipsToBounds = YES;
is work for me.