The file couldn’t be opened because you don’t have permission to view it

后端 未结 1 1150
小蘑菇
小蘑菇 2021-01-19 15:33
imageData=[NSData dataWithContentsOfURL:self.pdfFileUrl options:NSDataReadingMappedAlways error:&error];
NSLog(@\"%@\",[error localizedDescription]);
NSLog(@\"%@         


        
相关标签:
1条回答
  • 2021-01-19 16:28

    I encountered the same problem. What I did was to go to Build Options. Then I changed the value of the "Compiler for C/C++/Objective-C" to Default Compiler. Its work fine for me

    0 讨论(0)
提交回复
热议问题