UINavigationController how to set title

Ads
 

UINavigationController how to set title

I want to set the tile of the UINavigationController when a view is displayed once new view is pushed.

Thanks

View Answers

January 5, 2015 at 10:25 PM

Hi,

You should use the following code:

self.navigationController.navigationItem.title=[NSString stringWithFormat:@"%@",strTitle];

Thanks

Ads









Related Tutorials/Questions & Answers:
UINavigationController how to set title
UINavigationController how to set title  I want to set the tile of the UINavigationController when a view is displayed once new view is pushed. Thanks   Hi, You should use the following code
UINavigationController Set Title - iPhone
UINavigationController Set Title - iPhone This UINavigation example exhibits how to set Title to the Navigation Bar. The reason behind setting title... it? That is the only reason why we set Title for UINavigation Items. To set the title all you need
Advertisements
How to send UIWebView Title to UINavigationBar
How to send UIWebView Title to UINavigationBar  How can i replace the title of the UINavigationBar to UIWebView Page Title(i.e. javascript title)?   Write the given code into webViewDidFinishLoad method NSString
Set Title of PowerPoint Slide Using Java
Set Title of PowerPoint Slide Using Java   ... slide and set title. HWSL is used to make the Microsoft PowerPoint 97(-2003... presentations and set the title of the slide. For this we are creating the object
uinavigationcontroller add multiple buttons
uinavigationcontroller add multiple buttons  How to add multiple buttons to the UINavigationController
How can I change UIButton title color?
How can I change UIButton title color?  Hi, I have a button in my iPhone/iPad application. I want to change the color of the text when user clicks..., You have to set the color of the button for a particular state say
How to access the Title tag from xml to jsp
How to access the Title tag from xml to jsp  How to access the Title tag from xml to jsp   Please visit the following link: http://www.roseindia.net/jsp/parsing-xml.shtml The above link will provide you an example
PHP GD set image title
Java Image On JFrame Title
How to set Image On JFrame In this section, you will learn how to set an image on JFrame title using Java program. For this, we have created an object... have allowed  the image to be displayed on the JFrame title. Here
uinavigationcontroller go back
uinavigationcontroller go back  Hi, How to go back to the previous view on the navigation controller view. Write code for uinavigationcontroller go back. Thanks
UINavigationController hide navigation bar
UINavigationController hide navigation bar  HI, How to hide the navigation bar of UINavigationController? I have to hide navigation bar of UINavigationController on the click of a button. Thanks   Hi, Use following
How to set cookies?
How to set cookies?  How to set cookies
How to set the cursor to wait?
How to set the cursor to wait?  How to set the cursor to wait
how to set class path
how to set class path  how to set class path in java
how to set the values in jsp
how to set the values in jsp  how to set the values text boxs in jsp frm dbase via servlet
uinavigationcontroller back button not showing/ missing
  You need to set the title of UINavigationBar of the root view controller...uinavigationcontroller back button not showing/ missing  Hi, In my... but ... somehow in the next view uinavigationcontroller back button not showing
how to set background image
how to set background image  how to set image in background in that image i want over lay text how it possible in jsp? using flash image how it is overlayed in jsp page? thanks
How to set NSZombieEnabled iPhone
How to set NSZombieEnabled iPhone  Hi, In my application I have to find and fix the object release issue. How to set NSZombieEnabled iPhone to find the bugs? Thanks   Hi, Please see the thread NSZombieEnabled iPhone
uinavigationcontroller back button action
uinavigationcontroller back button action  Hi, Tell me how to back to my root or main view in my uinavigationcontroller based application. I.... Give me any code for uinavigationcontroller back button action method. Thanks
uinavigationcontroller background image
; You can also make a custom UINavigationController UIToolbar and set...uinavigationcontroller background image  I wants to add a background image to uinavigationcontroller.   Use setBackgroundImage to to add
UIWebView in UINavigationController
UIWebView in UINavigationController  I am wondering why application gets slow while push and pop. I have used the UINavigationController in my application. [self.navigationController popViewControllerAnimated:YES
How to set target to videos??
How to set target to videos??  Hi, i am developing project in HTML 5 with videos so, i am dispalaing videos in two table coloumn,if the video in one coloumn is clicked,it should be played in another coloumn. plzz suggest any idea
how set data in a dialog
how set data in a dialog  Button button = (Button) findViewById(R.id.button1); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { setContentView
how to set image - EJB
how to set image   public ActionForward execute(ActionMapping mapping... in this pdf, how can i set pls help me sir, my image in E:/rose.jpg,how can set this jpg to my pdf file
how to set the value of textfield constant
how to set the value of textfield constant  how to set the value of textfield constant
how to set folder size in php
how to set folder size in php  hi , i know how to create folder but i dont know how to set size for folder did u know means tell me. thankyour
UINavigationController Navigating to back
UINavigationController Navigating to back  How to navigate to previous screen or simply go back or simulate the back button programmatically in iOS? Thanks   Hi, You can use the following code
how to set size of button,textfield.
how to set size of button,textfield.  how we set size of button... large how to set as a preferd size in the panel or frame .when we click maximize button not effect on text or button to their of size the set on the prefered
how to set time in jsp page
how to set time in jsp page   I need code for set the time in jsp code .iam using struts frame work back end oracle 10g ide is eclipse 6.0
How to set Marathi font to Label??
How to set Marathi font to Label??  Hello, I am doing one project in java-Swing Farm Management i want to set Marathi label in that so how i can? plzzzz help me its urgent
uinavigationcontroller add right button
uinavigationcontroller add right button  Hi, How to add the right button programatically to a UINavigation Controller? Thanks   Hi, You can use the following code: - (void)viewDidLoad { [super viewDidLoad

Ads