I have a string as follows (Which actually is a link)
http://xxx.xx.xxx.xxx:xxxx/goat/mainMenuNew.png
(x is replaced by the ip address)
I want to convert it to a URL. Below is what i did,
NSURL *imageUrl = [NSURL URLWithString:objUserInfo.photoLink];
also tried alloc and initWithString.
But, imageUrl is nil in both the cases.
Please let me know where am i going wrong.
strongby default with ARC.