iOS Question webview.postUrl method support?

szy

Member
Licensed User
eclipse java
android webivew code demonstrates

String url = Pubvalue.url+"default.aspx";
//post访问需要提交的参数
String postDate = data.getStringExtra("result");
//由于webView.postUrl(url, postData)中 postData类型为byte[] ,
//通过EncodingUtils.getBytes(data, charset)方法进行转换
webview.postUrl(url, EncodingUtils.getBytes(postDate, "BASE64"));
 
Top