【发布时间】:2023-04-06 20:53:01
【问题描述】:
我有一个带有 Youtube URL 的数组,我想在 WebView 中显示它我知道如何显示 URL:
videoHTML = @"<iframe type=\"text/html\" width=\"305\" height=\"180\" src=\"http://www.cast-tv.biz/play/?clid=23595&media=yes&movId=cgjlej\" frameborder=\"0\"></iframe>";
但是如何将地址替换为我数组中的另一个 URL?
【问题讨论】:
-
提示:[nsstring stringwithformat] (developer.apple.com/library/ios/documentation/Cocoa/Conceptual/…)
标签: ios objective-c url