如何从网址获取网页预览目标c

时间:2016-03-22 09:37:52

标签: objective-c uiwebview nsurlconnection

我需要设置这样的网址:

enter image description here

并显示这样的事情:

enter image description here

有可能得到这个吗?

1 个答案:

答案 0 :(得分:1)

使用此库:“ URLEmbeddedView

您可以在此处找到代码:https://github.com/szk-atmosphere/URLEmbeddedView

这个用swift编写的库但你可以在objective-c中使用。

objective-c简单代码在类“ OGObjcSampleViewController

- (IBAction)didTapFetchButton:(id)sender {
    [self.embeddedView loadURL:self.textView.text completion:nil];
}

按钮获取网址

numpy.ravel_multi_index
相关问题