We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(UIViewController *)initFromString:(NSString *)urlString fromConfig:(NSDictionary *)configDict{
// 支持对中文字符的编码 NSString *encodeStr = [urlString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]; return [UIViewController initFromURL:[NSURL URLWithString:encodeStr] withQuery:nil fromConfig:configDict]; }
导致html中打不开对应的fagment 链接示例:http://some-site.com:999/dir1/dir2;param?field-1=value-1&field-2=value-2#anchor1
The text was updated successfully, but these errors were encountered:
可以先拿到url的参数再做处理
Sorry, something went wrong.
No branches or pull requests
(UIViewController *)initFromString:(NSString *)urlString fromConfig:(NSDictionary *)configDict{
// 支持对中文字符的编码
NSString *encodeStr = [urlString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
return [UIViewController initFromURL:[NSURL URLWithString:encodeStr] withQuery:nil fromConfig:configDict];
}
导致html中打不开对应的fagment
链接示例:http://some-site.com:999/dir1/dir2;param?field-1=value-1&field-2=value-2#anchor1
The text was updated successfully, but these errors were encountered: