在调试模式下运行应用程序时,可以直接从xCode查看日志及其println()
调用。
我想在生产环境中测试一些内容,因此希望查看我使用AdHoc配置文件签名的应用程序的日志。 有没有办法实现这个目标? 怎么样?
@ david ,为此您必须在任何地方设置AlertView NSLOG,
使用简单的UIAlertView,您可以在iPhone警报屏幕中查看重要日志,这是个好主意,您可以使用它。 在测试App之后 ,你必须删除它。
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"LOG"
message:@"Dee dee doo doo."
delegate:self
cancelButtonTitle:@"Tested"
otherButtonTitles:nil];
[alert show];