Bug 44398 - On iOS the NavigationPage as Detail do not show the icon from de Master page of a MasterDetailPage if the image is stored inside a Assets.xcassets
Summary: On iOS the NavigationPage as Detail do not show the icon from de Master page ...
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: Other Linux
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-15 23:44 UTC by Fabio
Modified: 2016-10-10 17:49 UTC (History)
4 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 44398 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Fabio 2016-09-15 23:44:19 UTC
# Steps to reproduce

1. Start a new Xamarin.Forms project and add the follow code in the App.xaml.cs init function:

public App()
{
    InitializeComponent();
    Manager.Setup();

    var main = new MasterDetailPage {
        Master = new ContentPage {
            Title = "Master",
            Icon = "ic_menu"
        },
        Detail = new NavigationPage(new ContentPage {
            Title = "Detail"
        })
    };
    MainPage = main;
}

2. Download a hamburger icon set, ex: https://storage.googleapis.com/material-icons/external-assets/v4/icons/zip/ic_menu_black_24dp.zip

3. Add a new Image Set in the Assets.xcassets

# Expected behavior

The navigation bar should show the hamburger icon.

# Actual behavior

It's not showing the hamburger icon.

# Supplemental info (logs, images, videos)

If the images are stored in the Resources folder the icon is show in the navigation bar.

# Test environment (full version information)
=== Xamarin Studio Community ===

Version 6.0.2 (build 73)
Installation UUID: 9900b7b3-cc89-4905-b443-10d989e99881
Runtime:
	Mono 4.4.2 (mono-4.4.0-branch-c7sr1/f72fe45) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404020011

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.iOS ===

Version: 9.8.2.22 (Xamarin Studio Community)
Hash: f37444a
Branch: cycle7-sr1
Build date: 2016-07-28 12:17:02-0400

=== Xamarin.Mac ===

Not Installed

=== Xamarin.Android ===

Version: 6.1.2.21 (Xamarin Studio Community)
Android SDK: /Users/dev/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)

SDK Tools Version: 25.1.7
SDK Platform Tools Version: 24.0.1
SDK Build Tools Version: 24.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 600020073
Git revision: a6f7a24a9723a2d4f5d33c176615b0d44703ab5b
Build date: 2016-07-26 13:36:15-04
Xamarin addins: f5acb37866a0141bc5ddbe95118f18dae4014568
Build lane: monodevelop-lion-cycle7-sr1

=== Operating System ===

Mac OS X 10.11.5
Darwin osx.n42.org 15.5.0 Darwin Kernel Version 15.5.0
    Tue Apr 19 18:36:36 PDT 2016
    root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64