Hiding the 'info' button in a utility based app

Discussion in 'iOS Programming' started by milktooth, Nov 5, 2009.

  1. macrumors member

    Joined:
    Oct 30, 2009
    #1
    I had assumed that it was done by setHidden:YES in the MainViewController.m

    XCode tells me that 'showButton' is undeclared but I have no problems setting the outlet in IB.

    Apologies for my ignorance. How do I set the hidden property?
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Got some code of your defining showButton as a property that you can show us?
     
  3. macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #3
    Did you make sure you connected the Button in IB. to the IBOutlet you created in the code. If so you should have access to its properties.
     
  4. thread starter macrumors member

    Joined:
    Oct 30, 2009
    #4
    Looks like the original poster needs to get more sleep.
     

Share This Page