我想将datagrid行(由带有字符串的2列组成)添加到不同表单的单个文本框中。到目前为止,我只能在文本框中看到1个值,第二个不显示。这是我的代码:
import URLEmbeddedView
override func viewDidLoad() {
super.viewDidLoad()
class LinksViewController: UIViewController, UITableViewDelegate {
let urlString = "https://google.com/"
OGDataProvider.sharedInstance.fetchOGData(urlString: urlString) { [weak self] OGData, error in
if let _ = error {
return
}
let text = "- pageTitle = \(OGData.pageTitle)\n"
self?.textView.text = text
}
}
}
任何帮助表示赞赏!