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

How to change nav text programmatically in iOS?

$
0
0

How Can I change the text of Nav Bar programmatically in iOS?
I can't use this.Title.

I could change some attributes using:

        UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes()
            {
                TextColor = UIColor.White,
                Font = UIFont.FromName("Font",30),
            });

But could not change the text.

Just to clarify, I can't use this.title because I'm using a carouselPage inside a TabPage and it seems to be generating some issues and this property is not working as expected.

anyone could help?


Viewing all articles
Browse latest Browse all 79144

Latest Images

Trending Articles



Latest Images

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