![](/img/trans.png)
[英]Getting application crash during opening a local pdf file on UIWebView
[英]Getting application crash during opening a local csv file with size more than 2Mb on UIWebView in device
在這里,我把我的代碼。 它的工作正常,文件大小小於2 MB。 有人有任何想法請幫助我。
-(void) viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
NSURL *fileUrl= [[NSBundle mainBundle] URLForResource:[NSString stringWithFormat:@"userdata"] withExtension:@".csv"];
[webV loadRequest:[NSMutableURLRequest requestWithURL:fileUrl]];}
應用程序崩潰時出現錯誤:“來自調試器的消息:由於內存問題而終止”。 提前致謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.