Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我用来stringWithContentsOfURL从使用 SSL(地址以 https:// 开头)的 Web 服务器获取数据,它会工作并使用 SSL 进行请求吗?
stringWithContentsOfURL
是的,它会起作用。
但是请注意,您不应该在主线程中使用 stringWithContentsOfURL,因为它可能很长时间都不会返回,并且您的应用程序可能会因无响应而被系统终止。
我有一个 GridView 模板字段,其中包含一个 ASP:Label 字段,该字段每行都有一个唯一的参考号。我还为该控件分配了一个打开的 Javascript 函数,该函数在新窗口中打开一个 URL 并显示具有相同参考编号的文档。<