NSURLRequest Null (no encoding problems)

mostafagamal

New Member
The problem:\[code\]NSString *str = [[NSString alloc] initWithString:theList.artist];NSLog(@"%@",str); // Log gives me the correct string...NSURLRequest *request = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:str]];[self.webView loadRequest:request]; NSLog(@"%@", request); //Log returns <NSURLRequest (null)>\[/code\]Then if I try:\[code\]NSString *str = [[NSString alloc] initWithString:@"http://totssants.com/index.html"]; //which is the actual URL I am trying to load\[/code\]Everything goes fine... I can pass the string everywhere else but not to the request... Could be that a problem with the XML I am parsing?Thanks!
 
Back
Top