Bug 45284 - Extra tab icons display in iOS when binding Title on TabbedPage
Summary: Extra tab icons display in iOS when binding Title on TabbedPage
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS (show other bugs)
Version: 2.3.2
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL: https://github.com/xamarin/Xamarin.Fo...
Depends on:
Reported: 2016-10-11 17:27 UTC by Chad Kimes
Modified: 2017-02-17 10:52 UTC (History)
5 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:

Extra icon on TabbedPage in iOS 10 (13.73 KB, image/png)
2016-10-11 17:27 UTC, Chad Kimes

Description Chad Kimes 2016-10-11 17:27:00 UTC
Created attachment 17983 [details]
Extra icon on TabbedPage in iOS 10

This is due to a bug in iOS 10, more information available here:


If the "Title" property is changed on an item in a TabbedPage, it updates the Title property on the TabBarItem (see https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.iOS/Renderers/TabbedRenderer.cs#L188). This causes an additional icon to display (see attachment). Since the Title property is changed during binding, this means you can't bind the ItemsSource for a TabbedPage without seeing this extra icon.
Comment 1 Chad Kimes 2016-10-11 17:28:39 UTC
For historic purposes, here's the commit specific link where I think the bug is (instead of tracking master):

Comment 2 adrianknight89 2016-10-22 17:03:08 UTC
There is a PR for this: https://github.com/xamarin/Xamarin.Forms/pull/448
Comment 3 Rui Marinho 2016-10-25 14:05:18 UTC
Isn't this iOS10 beta bug ? I can't reproduce this issue in current iOS10 version.

Here's my reproduction code:

Comment 4 Chad Kimes 2016-10-27 15:18:59 UTC
I can see it on my simulator and on a real device both running release versions of iOS 10, so it's not just a beta bug.

I have provided a minimal repro on the linked PR. The important thing seems to be changing out the collection that ItemsSource is bound to.
Comment 5 Stephane Delcroix 2017-01-26 10:07:40 UTC
new PR https://github.com/xamarin/Xamarin.Forms/pull/720
Comment 6 Rui Marinho 2017-02-17 10:52:21 UTC
Should be fixed in 2.3.5-pre1

Note You need to log in before you can comment on or make changes to this bug.