Why do you need an image that looks like the original back button if you
want to customize it to NOT look like the original?

I’m puzzled about what you are trying to achieve. Have you tried to google
for “UINavigationController customize back button”? You will find plenty of
ideas what to do and how to do it.

 

René

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von
Andreas Ploetzeneder
Gesendet: Donnerstag, 10. November 2011 10:18
An: René Ruppert
Cc: [email protected]
Betreff: Re: [MonoTouch] LeftBarButton Color

 

is there somewhere a template , for a graphic for a custom left bar button

2011/11/10 René Ruppert <[email protected]>

You cannot. :-) whatever you specify it will show a arrow shaped item.
Instead, try setting the NavigationItem.LeftBarButtonItem to a custom
button, view or whatever you want. In its event handler you will have
to take cAre of popping the controller.  Place your code in
ViewDidiLoad().

Grüße, René

Am 10.11.2011 um 09:15 schrieb Andreas Ploetzeneder
<[email protected]>:


> Hi,
> none of these things affect on the color of my back button
(UINavigationController)
> var textAttr = new UITextAttributes ();
> textAttr.TextColor = UIColor.Black;
> textAttr.TextShadowColor = UIColor.Clear;
> NavigationController.NavigationBar.SetTitleTextAttributes (textAttr);
> this.NavigationItem.LeftBarButtonItem.SetTitleTextAttributes(textAttr,
UIControlState.Normal);
> this.NavigationItem.BackBarButtonItem.SetTitleTextAttributes (textAttr,
UIControlState.Normal);

> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch





 

-- 

 

 

Mit freundlichem Gruß,

Andreas Plötzeneder
CEO
ihr ploetzeneder it-solutions Team
 
<http://www.ploetzeneder-it.com/softwareentwicklung/mobile-development.html>
Mobile Development –
<http://www.ploetzeneder-it.com/softwareentwicklung/desktop-anwendungen.html
> Desktopanwendungen –
<http://www.ploetzeneder-it.com/softwareentwicklung/web-anwendungen.html>
Webanwendungen
Tel:  +43 720 30 30 24 10
Fax: +43 720 30 30 24 20
Email:  <mailto:[email protected]> [email protected]
web:    <http://www.ploetzeneder-it.com/> http://www.ploetzeneder-it.com

Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich und
ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der vorgesehene
Adressat dieser E-Mail oder dessen Vertreter sind, so löschen sie diese
bitte und informieren Sie den Absender. Jede Form der Verbreitung oder
Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen, die
nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.

 

 

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to