新建UIWebView
来源:互联网 发布:程序员做生意 编辑:程序博客网 时间:2024/04/30 11:53
CGRect webFrame = CGRectMake(0.0, 0.0, 320.0, 460.0);
UIWebView *webView = [[UIWebView alloc] initWithFrame:webFrame];
[webView setBackgroundColor:[UIColor whiteColor]];
NSString *urlAddress = @"http://www.google.com";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView loadRequest:requestObj];
[self addSubview:webView];
[webView release];
- 新建UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebview
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- UIWebView
- algorithm-binary_search
- 屏幕保护的经典总结
- 日本核事故引发德国核能政策转变
- 各种编程语言面试题汇总
- XPS15系统直接升旗舰方法
- 新建UIWebView
- algorithm-find_end
- 第3章 类与继承
- 安装Acrobat Profession 7.0时提示服务Print Spooler 启动失败,如何解决?
- algorithm-partial_sort
- 各种烧写文件格式简介
- shell实例(十七) ----find和xargs命令
- Oracle中IO
- u-boot移植随笔:困难重重,前路未知