Hello,
I use the follow piece of code to build the toolbar for pages in my app, including both primary and secondary items. On Windows Phone and Android this works as expected. However, on iOS, I sometimes get a duplicated row of secondary toolbar items, one above the other.
public void AddOrUpdateToolbarOnPage(Page page)
{
page.ToolbarItems.Clear();
foreach (KeyValuePair<int, ToolbarItem> kvp in _toolbarItemsByPosition)
{
page.ToolbarItems.Add(kvp.Value);
}
}
Has anybody else encountered this, or have any idea why this might be happening?
Many thanks,
John H.