Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Title not updating

$
0
0

With Xamarin forms, Android updates the Title of a ContentPage but not iOS.

public class MapPage : ContentPage
    {

        public MapPage(string title)
        {
            Title = title; <--- works in iOS and Android
        }

    public void UpdatePage(string title)
        {   
        Title = title; <--- works only in Android
    }

}

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>