Sheikh Muhammad Amaan-Ullah Sheikh Muhammad Amaan-Ullah - 5 months ago 37
iOS Question

How to concatenate NSURL in Objective-c .?

I have a NSURL named url where i Have an api that is calling some movie names. the problem is I want to enter user defined values in it :O
I have UIsearchBar for text input.

NSURL *url=[NSURL URLWithString:@"""&api_key=c4bd8170"];

NSString *movieName;    //String from UISearchBar
NSString *movieString = [NSString stringWithFormat:@"",movieName];
NSURL *url=[NSURL URLWithString:movieString];