[iphone] Remove back button from navigation bar

I have an app set up with a navigation controller which is working fine. What I'd like to do is remove the back button when certain views come up. In fact I can't seem to manipulate the back button at all. I tried putting self.navigationItem.backBarButtonItem.title = @"TestTitle"; in the view controller for one of the views in the app, and the title doesn't change. Mainly I would like to remove the back button. Anyone have an idea? This is on beta 6.
Thanks.
Message was edited by: Lysandus

Each view controller that is being managed by your UINavigationController has a property called navigationItem. You should do something like this in the managed viewController:
self.navigationItem.hidesBackButton = YES;
hope that helps

Similar Messages

  • Removing Delete button from Navigator Bar

    I am Using Jdeveloper 9.0.5.1 version and How can disable and make invisible the delete button in some Jsp pages only

    No, that's not possible. But you can try to transfer the photos and videos to your computer and sync them back again using iTunes. After that your daughter can only view them in "albums" instead inside the camera roll, and would not have the chance to delete them, because there is no delete button inside "albums".

  • How can i remove unwanted bookmarks from bookmark bar on MAC I'm using firefox 4.0.1 and on previous version Ff 3.6 I had organize bookmark button on this version I don't

    how can i remove unwanted bookmarks from bookmark bar on MAC I'm using firefox 4.0.1 and on previous version Ff 3.6 I had organize bookmark button on this version I don't

    http://support.mozilla.com/en-US/kb/Deleting%20Bookmarks?s=delete+bookmark&as=s
    follow the above link it explains it all

  • Removing the minimize button from Title bar...

    Hi,
    I have created an desktop application using swing. I dont need minimized button on title bar of the main window. I searched a lot but could not find a solution. Can I get some useful links.
    What can I do ?
    Thanks

    Actually I want if the application is minimized, its state should not changed to iconified but it simple because hidden. And using the tray icon's option if application is open, it simple make the application visible. I did not want the following case which is happening right now.
    Case:
    1. I Minimized the application
    2. My application state becomes the iconified and it becomes hidden (As I have implemented the windowlistener)
    3. I used trayicon's Open option (it simply visible the application)
    4. Application becomes visible, but it is in iconified state. Because previously its state has been changed due to minimized button.I want whenever the Open option of tray icon is used, application must be visible in Maximized state. That why I also did on action listener of Open option
                            application.setState(NORMAL);
                            application.setExtendedState(MAXIMIZED_BOTH);
                            application.setVisible(true);That's why I planned to removed the minimize button from Title bar. But if it not possible then how can I avoid changing state of application when minimized button is used.
    thanks
    Jawahar Nayak

  • Resetting / Removing Old URLs From Address Bar When Manually Typing In URLs

    How do you Reset / Remove Old URLs From Address Bar When Manually Typing In URLs. You know, when you start to tpye in www. and about 2000 URLs visted in your life, and past life, appear in a list. It's annoying as all heck, and since it's in alphabetical order it's always throwing in the first one in the list... 1800flowers in my case. Isn't there a way to reset this or something? Or better, to turn it off? I've already tried emptying cache and clearing history. I also removed the .plist files as well. What would happen if I did a reinstall of Safari?

    Hello Jonny Apple Seed
    The way to clear the address bar is to reset Safari, under Safari menu,
    this will also clear,
    "Resetting Safari clears the history, empties the cache, clears the Downloads window, and removes all cookies. It also removes any saved user names and passwords or other AutoFill data and clears Google search entries.
    In addition, any open windows are closed and a new window opens. The new window has a new history for the Back and Forward buttons and the SnapBack buttons". From Safari Help
    A reinstalled Safari will just come to be the same, after a while. Not worth it in my opinion. The address bar will not be completely empty.
    Hth some.
    Eme: )

  • IPhone: NavigationController Back Button

    The back button on a navigationController is supposed to be automatic, right? I have a table view hierarchy with a navigation controller that has two table views. I can click on a cell in the root view and it does the transition to the next view. However, when I click on the "back" button on the navigationController, the navigationController does a transition and displays the title of the root view, but the table view does not change back to the root view. I checked, and the stack still contains two objects after this half-transition. I can call popViewControllerAnimated myself from the second view, but I didn't think this was necessary. Also, I wouldn't know where to Is there some sort of flag I need to set if I want popViewControllerAnimated to be called automatically?
    Thank You,
    Bridger Maxwell

    I have looked through a few examples which use the UINavigationBar, and I can not find any differences between their code and mine. I even used a lot of code directly from one example. It is quite puzzling.
    Just so I can check, is there a way to prevent the back button from working by catching a message or something? I found
    - (BOOL)navigationBar:(UINavigationBar *)navigationBar shouldPopItem:(UINavigationItem *)item
    in the docs as a method you can implement for a UINavigationBarDelegate protocol, but I can't even set the delegate for the UINavigationBar because I am using a UINavigationBarController, and the docs say I should never access the UINavigationBar inside the UINavigationBarController. I am really quite puzzled on this.
    Thank You,
    Bridger Maxwell

  • Buttons on navigation bar not working??

    Hello all, I am in a web design class and im currently wokring on my website. When i made my navigation bar in adobe fireworks and saved/exported it then tried to open it in dreamweaver cs6. The way i did this was insert>image objects>fireworks HTML then selected the html version of the nav bar. But for some reason when i try to do live view or open it in browser the buttons don't work, they worked when I opened them from fireworks. Someone help please :/

    The old Fireworks code relied on javascript for the menus.  If the javascript file is not in the proper location or is missing then the menus will not work.  In order to tell if this is the page we would need access to a test page online to view your code.  In case this is not possible, I am also including a link to the KB article discussing how this process works from FW to DW to explain all of the steps.
    Macromedia Fireworks - Working with Macromedia Fireworks MX buttons and navigation bars : Export the navigation bar

  • Remove EDIT button from FPM ToolBar

    Hi All,
    I am new to FPM, and I am working on SRM 7.0. In the Monitor Shopping cart WD application, after search event, a list of Shopping Carts are displayed, when we click on one of the SC number, the SC screen opens as a new Pop-up.
    Here we have an EDIT button, and we need to remove this button from this screen.
    Technical Details(EDIT button):
    Application: /SAPSRM/WDA_L_FPM_OIF
    Web Dynpro Component: FPM_OIF_COMPONENT
    Window Information: FPM_WINDOW
    View Information: CNR_VIEW
    Configuration ID: ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL
    Technical Details(SC screen):
    Application: /SAPSRM/WDA_L_FPM_OIF
    Web Dynpro Component: /SAPSRM/WDC_UI_SC_DOFC_HD
    Window Information: IV_L_FPC_CA_HDR
    View Information: V_SC_BOFC_HD
    Configuration ID: /SAPSRM/WDCC_FPM_SC_HD_PR
    Appreciate any help on this.
    Thanks,
    Prabhakaran

    Hi Prabhakaran
    You will need remove the static usage of config id ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL and make use of dynamic component configuration depending on the particular scenario.
    Create two configuration id's ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL1 and ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL2. Set visible property of Edit button as visible in the first config ID and none in the second.
    Now assign this config ID dynamically depending on the scenario. If scenario is Monitor SC, then assign config ID ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL2, else assign config ID  ZSAPSRM_WDCC_FPM_OIF_SC_PROFNL1.
    Please refer the below document for usage of dynamic component configuration.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70337875-167f-2e10-daa7-a1c69d55ee95
    Hope this helps.
    Regards
    Lorraine

  • Calling javascript code from navigation bar

    hi all,
    I created a javascript in HTML HEADER as follows:
    <script language="javascript" type="text/javascript">
    <!--
    var win=null;
    function NewWindow(mypage,myname,w,h,scroll,pos){
    if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
    if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
    else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open(mypage,myname,settings);}
    // -->
    </script>
    then i want to call the javascript function from navigation bar
    this is the page i want to call :
    http://ora10g:7777/pls/apex/f?p=110:5
    and this is the javascript calling
    GO tO LINK
    but where i have to write it ??
    thanks in advance
    Ahmed,

    Try serving the page from a web server. Not directly from the
    file system. For more background, see Vince Genovese's Security
    Sandbox posting on the Flex Doc Team blog:
    http://blogs.adobe.com/flexdoc/
    HTH

  • How to dynamically add/remove a button from the ribbon based on some condition? (Ribbon XML)

    Hi,
    I have a ribbon (done using ribbon XML) with menu options. I need to remove few buttons from the menu dynamically based on some condition. Also, I want to change the label of another button. How to achieve this programmatically? (C#)
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    Use callbacks for populating Ribbon controls such as menu, dropDown, gallery and etc. Then you can use the
    Invalidate or
    InvalidateControl methods of the
    IRibbonUI interface to get your callbacks invoked when required. Thus, you will be able to delete the required item(s).
    You will find the following articles in MSDN helpful:
    Chapter 11: Creating Dynamic Ribbon Customizations (1 of 2)
    Chapter 11: Creating Dynamic Ribbon Customizations (2 of 2)
    To change the label of your controls at runtime you need to use the getLabel callback and call the Invalidate or InvalidateControl methods of the IRibbonUI interface. The following series of articles describe the Fluent UI in depth:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • Since I've updated to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.

    Since I've updated from iOS 5 to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.
    This is working fine for albums but are broken for audio books.
    The back button refers always to the first chapter of the audio book (very annoying if you are in the middle of an audio book) and the nex button goes one level higher back to the selection of the audio book itself.
    In iOS 5.0 it was still possible to navigate throught the audio book chapters using these buttons.
    This still happens in iOS 6.1.
    Is this a known bug?
    Does any solution exist?
    Thx,
    Oliver

    To gdgmacguy your a f****** idiot for one I'm having the same problem as pennymar. And you tell me to quit whinning. You got more problems then the iOS 6 you did not answer my question nor the other 13 or whatever you replied to within a 30 min time frame. You must got nothing better to do then to harass people and to pretend you know something about apple products. Which you don't from what I've read the other advices you should have gave to other people. But you didn't you replied a question back to the people asking a question. So if your not gonna use these community forums the right way don't use them at all.

  • Firefox started crashing right at startup after I've detached a button from bookmark bar

    firefox started crashign at startup after I've detached a button from bookmark bar. It doesn't start in safemode either.

    That looks like a problem with the Taskbar previews.
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    *[1] http://kb.mozillazine.org/Session_Restore
    *[2] http://kb.mozillazine.org/sessionstore.js
    *[3] http://kb.mozillazine.org/Multiple_profile_files_created
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to remove an item from side bar?

    Can anyone teach me how to remove following item  from side bar:    Thank you!

    Niel thank you very much for you help.

  • Remove "execute" button from toolbar

    Hi, colleagues! Is there any way to remove "execute" button from toolbar on selection screen (in custom report)? I only found how to append custom buttons (using function keys).
    Thanks.

    Use EXCLUDING options of the SET PF-STATUS statement and insert the function code of the execute button into a internal table and pass it with EXCLUDING.
    See F1 help on EXCLUDING.
    Regards
    Karthik D

  • Remove CSLive button from menu

    Hi!
    How to remove CSLIVE button from menu in ILLUSTRATOR cs5?
    Thx!

    Isn't that strange? You can do so with ease in PS so why on earth are the options different here?

Maybe you are looking for

  • How do you change the color of events on ICal.

    How do you changed the color of events on ICal? I was able to do this when I utilized ICal on the Snow Leopard system but can no longer do this with Lion. I know that I can select the Calanders list, but when I create a new "Calander" it doesn't allo

  • Using apple base station now, but the other 3 windows based computers couldn't find the printer connected to apple base station

    When I am trying to add a new printer on my iMac, the search result will show: HP Photosmart C6200 series and there is no problem to add this printer to the iMac. But when I am trying to add a new printer on my other windows based computers, the sear

  • HT204088 what can I do if the billing item is wrong?

    I have bought a sticker from LINE but the list of purchase appears two items as below, what can i do to cancel one of them? LINE, Don't Lose Your Soul! Report a Problem     NAVER JAPAN     In App Purchase    NT$ 60 LINE, Don't Lose Your Soul! Report

  • Time issue (speeds up)

    Hello, I have a problem with my new BB z10. When my z10 is not connected to internet and cannot correct time automatically, the time measurement doesn't work properly. It speeds up more that a minute for every hour. For example, if I disconnect my ph

  • Finding the right SMTP server

    Hi there, I'm trying to send a simple email from a servlet but when I do so I get an exception because SMTPTransport can't connect to localhost on port 25. I'm just using the reference implementation server that comes with J2SDKEE1.2.1 (on Windows XP