[英]is it possible to access pdf file from iphone and upload to the server ios
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : nil;
NSString *pdfFilePath =[basePath stringByAppendingPathComponent:@"myPDF.pdf"];
NSLog(@"pdf file %@",pdfFilePath);
如果要将文件上传到服务器,通常使用以下网址提供的Alamofire库: https : //github.com/Alamofire/Alamofire
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.