Valid URL-string as NSUrl becomes null
        Posted  
        
            by Mike
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mike
        
        
        
        Published on 2010-04-21T18:19:57Z
        Indexed on 
            2010/04/21
            18:23 UTC
        
        
        Read the original article
        Hit count: 548
        
Hello,
another issue where I seem to have found an solution for ObjC but not MonoTouch.
I want a NSUrl from an URL (as string).
The string may contain whitespace and backslashes.
Why is NSUrl returning null for such string, even though these are valid urls in a browser?
For example: NSUrl foo = NSUrl.FromString(@"http://google.com/search?\query");
foo == null
Any suggestions?
© Stack Overflow or respective owner