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.
我有一个 iPad 应用程序,它使用 下载 excel 文件NSURLConnection,然后将下载的文件呈现在UIWebView.
NSURLConnection
UIWebView
该实现适用于较小大小的文件,但随着我处理大约 5 MB 的 excel 文件,它开始变得越来越困难。
我正在第三代 iPad 上进行测试,它有 1 GB 的 RAM。下载的文件写入NSCachesDirectory文件夹中。
NSCachesDirectory
我也尝试通过使用该方法来增加缓存大小setSharedURLCache,但这并没有帮助。
setSharedURLCache
有什么解决办法吗?
我试图从这个网页( http://www.silvan.dk/butikker)的左侧提取城市名称。原因是我需要提取每个城市的物理地址(在链接所指的页面上可以找到,但是我暂时开始提取城市名称