if i am using NSURLConnection for file download remotely then where it will be store on iphone and how user will open that downloaded file?
thank you in advance
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.
If you use an NSURLConnection, it won’t automatically get stored anywhere (except in the cache), you will need to save it to a location in your code.
The NSData you get from the NSURLConnection can be stored to a path this way:
[data writeToPath:path atomically:NO];. You’ll need to find a path on your own.