Search code examples
iosconsoleios10xcode8

iOS10 NSLog is limited to 1024 chars strings


In iOS10 the NSlog are limited to 1024 characters has anybody know a workaround to print complete string.


Solution

  • try printf then instead of NSLog like,

       printf("%s", [string UTF8String]);
    

    It may works