From 71f8db2979fbe047fef4db438db9d8129776334f Mon Sep 17 00:00:00 2001 From: devedbox <862099730@qq.com> Date: Fri, 17 Feb 2017 22:27:58 +0800 Subject: [PATCH] Update sample code of back list. --- AXWebViewController/TabbarViewController2.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AXWebViewController/TabbarViewController2.m b/AXWebViewController/TabbarViewController2.m index 038ee0e..2e0185b 100644 --- a/AXWebViewController/TabbarViewController2.m +++ b/AXWebViewController/TabbarViewController2.m @@ -18,7 +18,10 @@ - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. - [self loadURL:[NSURL URLWithString:@"https://www.baidu.com"]]; +// [self loadURL:[NSURL URLWithString:@"https://www.baidu.com"]]; + NSString *str = @"

https://www.baidu.com

"; + + [self loadHTMLString:str baseURL:[NSURL URLWithString:@"https://www.baidu.com"]]; } - (void)didReceiveMemoryWarning {