NSLog用于输出打印,类似于C的printf
NSLog
printf
声明:
NSString *str = @"hello world"; NSLog(@"hello world"); NSLog(str);