1
我想讀我的應用程序的控制檯。我的目標是找到所有消息是這樣的:是否可以閱讀特定於應用程序的警告消息?
Warning: Attempt to present <ChildViewController: 0x7b44e380> on <TopViewController: 0x7a65e5b0> which is already presenting (null)
我發現在iOS7上你無法讀取系統消息。
Using Objective C to read log messages posted to the device console
In iOS 7 you can use ASL to read messages output by your own app, including on previous runs of the same build of your app, but not messages output by the system or by any other apps.
對於我的腦海裏任何警告,是一個系統的消息。可能是ios8上的變化?
aslresponse_next&aslresponse_free已過時,應該用asl_next和asl_free代替。 – dortzur 2015-05-18 14:59:29