Closed AnandSharma0821 closed 4 years ago
You have to position it yourself, check this out: https://stackoverflow.com/a/38973225
@v-braun Thanks for your reply. It helped me to change the position of the badge item. There is one weird issue which I am facing, in a few devices tab bar is showing a separator line as shown in the below attachment.
Can you please help me out with this?
Looks like there is a system style that provides this separator (maybe a special ios version or something else). It only happens on specific devices right? have they another ios version??
Maybe this will help (the last sentence in the post): https://blog.k.io/atech/set-the-top-border-colour-of-a-uinavbar
In order to hide the system border, I have found that it’s usually enough to simply set the clipsToBounds property on the tab bar to true.
self.tabBar.clipsToBounds = YES;
@v-braun Thanks for the support. That worked for me.
@v-braun & @Kladdkaka How to manage the badge icon position for non selected tab. Here I am sending you the screenshot for your reference. Can you please provide us a way to manage the badge icon.