NSString *url;//后台给的url
NSString *postStr = @"";//参数
postStr = [NSString stringWithFormat:@"参数名=%@",获取的参数];
NSData *data = [postStr dataUsingEncoding:NSUTF8StringEncoding];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc]initWithURL: [NSURL URLWithString:[NSString stringWithFormat:@"%@%@",QYBM_API_URL,url]]];//拼接完成的url
[request setHTTPMethod: @"POST"];//post传值
[request setHTTPBody: data];
UIWebView*webView=[[UIWebView alloc]initWithFrame:CGRectMake(0, 64, ScreenWidth, ScreenHeight-64)];
[webView loadRequest:request];
[self.view addSubview:webView];
//用WKWebView 也可以 正在尝试......iOS8后出的 还挺好用