.h文件中
@property(strong ,nonitomic) uiwebview * webview;
.m文件中
-(void)viewdidload
{
self.webview = [[uiwebview alloc]initwithformat:cgrectmake(0,0,320,480)];
[self.view addsubview:self.webview];
nsurlrequeast * request = [nsurlrequest requestwithurl:[nsurl urlwithstring:]];
//运行一下,百度页面就出来了
[self.webview loadrequest:request];
}
中国足彩网信息请查看IT技术专栏