In iPhone, how do you determine if a file couldn’t be written to the documents area because of an out of space error?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
fwritereturns the number of items written, so you can check if it’s consistent to know if there’s any errors:This is the only documented way to check if a
fwritefailure (including out-of-space error) happens.