I want to print all the xcode console log onto a UITextview inside an iPhone app page.
I have checked few solutions like: redirect NSlog to file like below,
NSString *logPath = [self getFilePath];
freopen([logPath fileSystemRepresentation],"a+",stderr);
But this doesn't work for os_log as it's not showing the log when phone is detached from xcode.
Is there any way I can do this?
I have checked few solutions like: redirect NSlog to file like below,
NSString *logPath = [self getFilePath];
freopen([logPath fileSystemRepresentation],"a+",stderr);
But this doesn't work for os_log as it's not showing the log when phone is detached from xcode.
Is there any way I can do this?