I found that [NSURL URLWithString:] method escapes some characters in url string passed to it automatically. e.g. it escapes brackets. But url string contains other non-legal url characters such as < and > causes the method return nilI found that [NSURL URLWithString:] method esca