Ios 正在上载大于10mb的文件
当我尝试将大于10mb的文件上传到解析服务器时,客户端会出现一个错误Ios 正在上载大于10mb的文件,ios,parse-platform,parse-server,Ios,Parse Platform,Parse Server,当我尝试将大于10mb的文件上传到解析服务器时,客户端会出现一个错误 Error Domain=NSCocoaErrorDomain Code=263 "Failed to create PFFile at path '/var/mobile/Containers/Data/Application/voice_message.mp4': file is larger than 10MB." UserInfo={NSLocalizedDescription=Failed to create PFF
Error Domain=NSCocoaErrorDomain Code=263 "Failed to create PFFile at path '/var/mobile/Containers/Data/Application/voice_message.mp4': file is larger than 10MB." UserInfo={NSLocalizedDescription=Failed to create PFFile at path '/var/mobile/Containers/Data/Application/voice_message.mp4': file is larger than 10MB.}
最好的办法是什么?我是否应该将该文件拆分为多个PFF文件,上载这些文件,然后在服务器上重新缝合它们?我应该使用PFFile吗?任何建议都将不胜感激
干杯 在Parse iOS SDK(1.13.0)中删除了PFFile 10MB限制。默认情况下,解析服务器的限制为20MB,也可以删除该限制
请参阅:在Parse iOS SDK(1.13.0)中删除了PFFile 10MB限制。默认情况下,解析服务器的限制为20MB,也可以删除该限制 见: