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 的回复
于 2013 年 12 月 18 日 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.