首页 > 代码库 > IOS 打印语句

IOS 打印语句

打印width和height

NSLog("width: %f, height: %f",self.View.frame.size.width, self.View.navigationBar.frame.size.height);

 

打印frame

NSLog(@"%@",[NSValue valueWithCGRect:self.View.bounds]);