In Xcode, would it be possible to create a method that generates a run log for the application and save it in a .log or .txt file? I plan to have the user able to read and email the file.
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.
You can create your own function that outputs data to a file. For example, I have created my own “logging” feature that outputs NSLog’s to a file. Although it’s not accessible to the user from within the app, I do have an “email logs” feature that the user can send me the logs from within the app.