I have an app where the initial view is a table, when i click on the row, i want to take the row value and stick it as the navigation.title on the next view, but then i also want to take the row value and perform a http connection where i send the value up to a php page, however when i put this method (the http) in the viewDidLoad, the parameter of the nav.title isnt being sent! Is there any way to set the nav title before it sends the http url?
I'm using this NSString *navTitle = self.navigationItem.title; and inserting this into NSURL *address = [NSURL URLWithString:[NSString stringWithFormat
"http://www.twostepmedia.co.uk/json.php?q=%@",navTitle]];
Both of those are in the viewDidLoad method but someone mentioned about a viewWillAppear? That might be the problem?
I'm using this NSString *navTitle = self.navigationItem.title; and inserting this into NSURL *address = [NSURL URLWithString:[NSString stringWithFormat
Both of those are in the viewDidLoad method but someone mentioned about a viewWillAppear? That might be the problem?