Hi Folks,
I am passing a variable (code for loading an URL) from a UITableView to a DetailView. There I have a UIWebView where I am passing the variable to get a result:
Code:
NSString *urlAddress = [NSString stringWithFormat:@"http://barcode.tec-it.com/barcode.ashx?code=Aztec&modulewidth=fit&data=%@&dpi=96&imagetype=gif&rotation=0&color=&bgcolor=&fontcolor=&quiet=0&qunit=mm",history.code];
NSLog(@"NSString URL: %@", urlAddress);
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[webView loadRequest:requestObj];
This Code is working only on 1 of the 3 TableView entries which I have currently in my TableView (on the 2nd one). Am I am missing something? Why can this occur? If I am NSLoging the urlAdress and copy/paste it to the browser, it is giving the correct and expected results...
Thanks for your advice!
Stefan