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.
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од Travis Bell
дана 18. децембар 2013. у 11:13 AM
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.