Skip to content

Commit

Permalink
Update sample code of back list.
Browse files Browse the repository at this point in the history
  • Loading branch information
devedbox committed Feb 17, 2017
1 parent b859315 commit 71f8db2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion AXWebViewController/TabbarViewController2.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 = @"<p><a href=\"https://www.baidu.com\" target=\"_self\" title=\"https://www.baidu.com\">https://www.baidu.com</a><br/></p>";

[self loadHTMLString:str baseURL:[NSURL URLWithString:@"https://www.baidu.com"]];
}

- (void)didReceiveMemoryWarning {
Expand Down

0 comments on commit 71f8db2

Please sign in to comment.