0

If it was a problem of code, seems to need a clean!!! I however have made all clean procedure, but the problem is there... The problem: I have added a right button (Tab Bar button) to a top Bar. The left (back) goes perfect, but I cannot view the right button... He disappear when I make a build and execute the app!!! Some idea?

Ps. In other UITableView of the project I have normally two buttons.

Blasco73
  • 2,980
  • 2
  • 24
  • 30
  • Are you adding it programatically or in storyboard? check if the hidden property is YES? – Suhit Patil Nov 26 '13 at 10:35
  • In storyboard.... and hidden is not checked :( But however when you add bar button item you don't have hidden property like a normal button under Attributes inspector... – Blasco73 Nov 26 '13 at 10:37
  • try to clean the project and run again – Suhit Patil Nov 26 '13 at 10:41
  • I've done hundred times.... I've also deleted the app from devices (Virtual and real) but nothing.... Is so strange! – Blasco73 Nov 26 '13 at 10:45
  • 1
    You are trying to add the UIBarButtonItem to the NavigationController right, check tintColor and barTintColor properties of barButton and NavigationBar, or alternatively try adding the BarButtonItem programatically in viewDidLoad and check if it's visible. – Suhit Patil Nov 26 '13 at 10:58
  • The colors are ok... (in fact I can see the left button). Last chance is to do all programmatically!!! I will update you. Thanks for now. – Blasco73 Nov 26 '13 at 11:24
  • ..after thousand and thousand of "clean" and "mac restart", Ladies and gentlemen, the right button is here!!!! Yheeeaaaa!!! What will be happened? I don't care.... Now works and this is enough Thanks Suhit and sorry for the stolen time. – Blasco73 Nov 26 '13 at 13:46

0 Answers0