thomasjt
Jun 22, 2009, 05:28 AM
Hi,
I have a view which is created with details which depend on which button a user clicks. So, say the user clicks a button named 'Tom', I would like the navbar title to be Details of Tom...
I've tried this:
detailView.title = @"Details of %@", whichButton.titleLabel.text;
Where whichButton is the button that the user clicked on. Unfortunately, all this shows me is 'Details of %@' in the navbar title.
Any ideas?
I have a view which is created with details which depend on which button a user clicks. So, say the user clicks a button named 'Tom', I would like the navbar title to be Details of Tom...
I've tried this:
detailView.title = @"Details of %@", whichButton.titleLabel.text;
Where whichButton is the button that the user clicked on. Unfortunately, all this shows me is 'Details of %@' in the navbar title.
Any ideas?
