在iOS开发中,可以使用`%@`来打印指针类型的对象。例如:
```
NSString *str = @"Hello";
NSLog(@"%@", str);
如果想打印指针的地址,可以使用`%p`。例如:
NSLog(@"%p", str);
查看详情