How do I hide/show the right button in the Navigation Bar

Hide the button by setting the reference to nil, however if you want to restore it later, you’ll need to hang onto a copy of it so you can reassign it. UIBarButtonItem *oldButton = self.navigationItem.rightBarButtonItem; [oldButton retain]; self.navigationItem.rightBarButtonItem = nil; //… later self.navigationItem.rightBarButtonItem = oldButton; [oldButton release]; Personally, in my apps I make my nav … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)