在xCode中,直接用代碼輸出對象的內存地址

self.window = [[UIWindowalloc] initWithFrame:[UIScreenmainScreen].bounds];spa  NSLog(@"SW - %0x",self.window);it 也可使用C++語法打印:class printf("SW - %0x",self.window);語法
相關文章
相關標籤/搜索