Printing stack trace in NSLog – Objective-C

NSLog(@"%@",[NSThread callStackSymbols]);