Unable to create NSUrl from NSString always getting nil

后端 未结 3 813
既然无缘
既然无缘 2021-01-15 19:24
NSMutableString *string = [[NSMutableString alloc]initWithString:
@\"http%3A%2F%2Fsupport24hour.com%2Fworkplace2%2Fbuttler%2Fimage.php%3Fwidth%3D534%26height%3D256%2         


        
3条回答
  •  不要未来只要你来
    2021-01-15 20:13

    Hmmm... how about printing out string before you turn it into an NSURL? Does it look as you'd expect it?

    Also: replacing "+" with a Space OR do you actually want to remove it?

提交回复
热议问题