Creating a Log File in an iOS app

后端 未结 2 845
南旧
南旧 2021-01-31 06:08

So in my app I have a bunch of data that I\'d like to write to a log file, and then display it within a UITextView when I click a button. I know how to toggle the

2条回答
  •  梦毁少年i
    2021-01-31 06:38

    I thought was a class out there to do this automatically as after no luck created my own.

    NSLogger is a lightweight class for iOS versions 3.0 and above. It allows developers to easily log different 'events' over time which are locally stored as a .txt file.

    https://github.com/northernspark/NSLogger

提交回复
热议问题