is NSLog() stored on the device (iPhone etc)? If so, where?

前端 未结 6 735
旧时难觅i
旧时难觅i 2020-12-16 20:18

Should all NSLog() calls be deleted in the final app for iTunes?

In my iOS app, I\'ve got lots of NSLog() for debug. Should I conditionally code them out before uplo

6条回答
  •  时光说笑
    2020-12-16 20:51

    Yes, We should remove all the NSLog() calls before uploading to iTunes. That is done mainly for better performance.

    Even if u dont remove them, no problem. It will be approved. But if u have lot NSLog() s, the that will def. affect the performance.

提交回复
热议问题