WebView

作者: 法库德 | 来源:发表于2017-10-25 15:14 被阅读0次

    self.myWebView = [[UIWebView alloc]initWithFrame:self.view.frame];

    self.myWebView.scalesPageToFit = YES;

    self.myWebView.detectsPhoneNumbers = YES;

    [self.view addSubview:self.myWebView];

    NSURL * url = [NSURL URLWithString:@"http://www.taobao.com"];

    NSURLRequest * request = [[NSURLRequest alloc]initWithURL:url];

    [self.myWebView loadRequest:request];

    相关文章

      网友评论

          本文标题:WebView

          本文链接:https://www.haomeiwen.com/subject/urvqpxtx.html