url scheme doesn't work with percent-encoded white space url
Posted: 24 Dec 2013 08:29
Code: Select all
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://mywebsite.com/abc%20def.avi"]];
Discussion and support for VLC media player and friends
http://forum.videolan.org/
Code: Select all
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://mywebsite.com/abc%20def.avi"]];
Code: Select all
let currentURL: NSURL = NSURL(string: "\(currentPath.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet())!)")!
self.currentMedia = VLCMedia(URL: currentURL)