//
// ViewController.m
// UI4_UIWebView
//
// Created by zhangxueming on 15/7/7.
// Copyright (c) 2015年 zhangxueming. All rights reserved.
// #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
UIWebView *webView = [[UIWebView alloc] initWithFrame:self.view.bounds];
NSURL *url = [NSURL URLWithString:@"http://www.baidu.com"];
//创建网络请求
NSURLRequest *request = [NSURLRequest requestWithURL:url];
//加载webView
[webView loadRequest:request];
[self.view addSubview:webView];
} - (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
} @end

最新文章

  1. UVA - 11987 Almost Union-Find[并查集 删除]
  2. PHP--------TP中的ajax请求
  3. JVM实用参数(七)CMS收集器
  4. 利用Unity制作“表”
  5. OpenResty+lua+GraphicsMagick生成缩略图
  6. C#设计模式(12)——享元模式(Flyweight Pattern)
  7. Crypto++编译使用
  8. Apache使用mysql认证用户
  9. CF 217 B. Berland Bingo
  10. C语言日期时间标准库
  11. XJOI网上同步训练DAY3 T1
  12. SQL Server 提高创建索引速度的 2 个方法
  13. linux popen函数
  14. STM32的内存管理
  15. log4j日志实现重复警告slf4j-jdk14和log4j-over-slf4j
  16. 如何在Chrome中导入和导出密码
  17. sql-索引的作用(超详细)
  18. Spring Boot 2.0(八):Spring Boot 集成 Memcached
  19. sql语句中 “where 1=1” 的用处
  20. HTTP 2.0 原理详细分析

热门文章

  1. thinkphp关联查询
  2. 微信公共服务平台开发(.Net 的实现)6-------自定义菜单
  3. 关于Web端即JS端编程
  4. MVC4数据注释与验证 2
  5. 0c-39-ARC下单对象内存管理
  6. javascript代码解释执行过程
  7. 特殊IP地址
  8. Java经典算法四十例编程详解+程序实例
  9. maven-使用assembly自定义打包
  10. C#基础--局部类型Partial