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 will display the back view on click of a button in my iPhone and iPad based application. Give me any code for uinavigationcontroller back button action method.

Thanks for your kind help.

View Answers

December 5, 2010 at 9:59 PM

Hi Guys,

Did few research and found the following code:

[self.navigationController popToRootViewControllerAnimated:YES];

Thanks









Related Tutorials/Questions & Answers:
uinavigationcontroller back button action
will display the back view on click of a button in my iPhone and iPad based application. Give me any code for uinavigationcontroller back button action method. Thanks...uinavigationcontroller back button action  Hi, Tell me how to back
uinavigationcontroller back button not showing/ missing
uinavigationcontroller back button not showing/ missing  Hi, In my... but ... somehow in the next view uinavigationcontroller back button not showing... as text for the back button and perform action. Hope this will help
Advertisements
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
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 add right button
uinavigationcontroller add right button  Hi, How to add the right button programatically to a UINavigation Controller? Thanks   Hi, You...:UIBarButtonItemStylePlain target:self action:@selector(refreshPropertyList
Back button
Back button  how to redirect to a home page when a back button is pressed in jsp instead of displaying the previous page
navigation item back button
navigation item back button  I wants to add a navigationBar on the top of my UIWebView also a navigation item "back button". can anyone please explain how the back and refresh button works
Browser's back button
Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
Enable Browser's back button
Enable Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
Browser's back button
Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
PushViewController back button
PushViewController back button  How can i hide the back button... it always show back button.   In your ViewDidLoad method just hide the navigation back button as given in the code. navigationItem.hidesBackButton = YES
browser back button
browser back button   hi...i created one page in JSF.that page had three form division.in first form one add button is there.if i click that button move to second form,then i click browser back button ,it moves on another page.so
disabling back button
press back button i again reach to the back page ie. authentication page so if any one can help me how to disable this button...disabling back button  hi, i am trying to make an application and i
back button in jquery
back button in jquery  Creating a back button in JQuery   <script src="/javascript/jquery.min.js"></script> <script type="text/javascript">     $(document).bind("mobileinit", function(){     Â
code to disable back button of browser
code to disable back button of browser  code to disable back button of browser
code to disable back button of browser
code to disable back button of browser  code to disable back button of browser
Change Button Text iPhone
Change Button Text iPhone In a UINavigationController based application, most of the time you can find that the back button on TopView shows the same title... that will change the text on the back button. You can also give it a Title of your
JSP Back Button
JSP Back Button          Jsp Back Button enables the user back... The Tutorial illustrate an example from 'JSP Back Button'. To understand
how to disable browser back button
how to disable browser back button  Am doing a web application in that how to disable browser back button using java script
Disabling the back button in all the browsers
Disabling the back button in all the browsers  I have a requirement like this, I have to disable back button of all the browsers(It should support all the browsers). Can u plz help me
disabling the browser's back button
disabling the browser's back button  I have following requirement, After submitting the form, user should not navigate to the previous page. I have tried with onbeforeunload(), but it is not working properly. Please help me
disable back button - Java Beginners
disable back button  I wanted the code for disabling back button in my application(The scenario is like when im in my register user page and try... displayed but..when i click back button i go back to the register page which should
back button issue - Java Beginners
back button issue  Hello, I have a site that asks for user... pushs the back button of the explorator he can entry in the page of first user... of problem there is two solutions 1- you can disable the back button
Session expire and back button in jsp and servlet .
Session expire and back button in jsp and servlet .  Hii Sir... button.Means that after session expiry time and logout action no one can access previous pages by clicking back button of browser without again logging. Plz
click on back button go to the login page
click on back button go to the login page  now when i click on back button the page show that page on where i came from and it shows the session expired but i want when i click a back buttob then it should show a login page
Browser Back Button click event javascript
Browser Back Button click event javascript  I am using the below code but window.onBeforeUnload is not working with back button.. how can i apply the below code for the click event of back button? window.onBeforeUnload
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p
How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back
Should not logout after clicking the back/forward button
he clicks on the back button user automatically gets logged out. very next if clicked the forward button user gets logged in..!! how can I solve this issue? What...Should not logout after clicking the back/forward button  Hi all I
After Logout Back Button Should not work again
After Logout Back Button Should not work again  Hi deepak,, I am doing Login Page,.. IN That If Logout Then When I Click Logout Button It Should...")!= null){ //then show the logout button }else{ // show the login button
radio button value on edit action
...Problem 'm facing is on edit action 'm not retrieving radio button value..i have used if else logic..Bt its not working...My edit.jsp code is:-Radio button name...radio button value on edit action  This is my edit.jsp code...In my
How to disable browser back and forward button after logout [in struts2 or jsp]
How to disable browser back and forward button after logout [in struts2 or jsp]  How to disable browser back and forward button after logout... click the back button of the browser more than one time
how to disable back button of a browser after logging in? - JSP-Servlet
how to disable back button of a browser after logging in?  how to disable back button of a browser after logging in?  where is the source code
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
forwarding request to a jsp when user clicks on back button in ie
forwarding request to a jsp when user clicks on back button in ie  Hi... of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button
How to disable back button in browser using javascript
There are times while developing a website, we need to disable back button... of the time the back button is disabled because a user can hit back... that will disable the working of Back button in Browser:ADS_TO_REPLACE_1 <
Drop down and radio button value on edit action
the value from dropdown and radio button.. But the problem goes with edit action...Drop down and radio button value on edit action  HI, I have... for text boxes..bt select default value for dropdown and radio button...How do
Browser Back Button Disable/Hide/Invisible using Java Script
Browser Back Button Disable/Hide/Invisible using Java Script  Dear Sir, Please Help..., Q: How to Write Code For Browser Back Button Disable/Hide/Invisible using Java Script without Page Reload/Refreshing. anyone
Click On Images of Submit Button Perform Action
Click On Images of Submit Button Perform Action  I have login page in which insert of submit button i used image. Therefor on Click of image i have to validate form , link with database and goto the next page
when i hit enter it represent action like click a button
when i hit enter it represent action like click a button  Hi, Plz provide a program in html like I want 2 submit buttons,when i hit the enter button it will represent the action like click the 1st submit
How to close a frame on action event of a button from a different class ?
How to close a frame on action event of a button from a different class ?  How to close a frame on action event of a button from a different class... have coded like on action event of these components diff-diff frame get
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
uinavigationcontroller add multiple buttons
uinavigationcontroller add multiple buttons  How to add multiple buttons to the UINavigationController
How to prevent from navigating to a page after reaching Login page using back button?
login page using back button and agin click browser forward button,the 2nd page...How to prevent from navigating to a page after reaching Login page using back button?  Hi sir, I have created 2 pages, 1) Lo gin Page 2)Page
How to prevent from navigating to ck buttonnext page when user reaches login page using back button
goback to user login page using back button and agin click browser forward button,the 2nd page session gets expired but on next click on forward button,the pdf... page using back button  Hi sir, I have created 2 pages, 1) Lo gin Page
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
Push and Pop UINavigationController
Push and Pop UINavigationController  push and pop UINavigationController example   Pushing and Popping Stack Items...];   UINavigationController *mNav = [[UINavigationController alloc
uinavigationcontroller background image
uinavigationcontroller background image  I wants to add a background image to uinavigationcontroller.   Use setBackgroundImage to to add a background image to uinavigationcontroller
Pass value of rasio button from jsp page to action class(not conventional problem)
Pass value of rasio button from jsp page to action class(not conventional...; </table> <s:submit value="Delete" action="deleteSchedule... button) to be deleted On clicking 'delete' button . Hence I need to pass eventId
Action Submit Html
Action Submit Html       Action Submit in Html is used to submit a form, When a user clicks on a submit button, the form is sent to the specific address

Ads