I'm getting url from my server. I used this code
self.bookURL = [aDictionary objectForKey:@"bookurl"];
The url is http://www.test.com/url. If this URL matches, I need to display a UIButton. How can I match this URL with self.bookURL
? I used below NSLog
, nothing displays in the log.
NSLog(@"book url is %@",bookURL);
NSString *thumburl=@"http://www.test.com/ur";
if(bookURL==thumburl){
}