I am trying to do a query for a TV show using the API. I am able to make it work just fine for a show that only contains one word but for multiple word shows like "The Waling Dead" I am struggling to make the query work.
This is what I have so far:
NSString *url = [NSString stringWithFormat: @"http://api.themoviedb.org/3/search/tv?api_key=#######&query='%@'",self.searchBar.text];
NSURL *searchURL = [NSURL URLWithString:url];
The value for searchURL however is coming up as null every time a multi-word show is entered into my search bar.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 18. Dezember 2013 um 11:13
Hi DevBoyer,
I can't speak to helping our your specific issue but something that might help is; have you looked at what the two iOS libraries are doing? They might be able to point you in the right direction.