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]);

转载于:https://www.cnblogs.com/xubojoy/p/3873930.html

你可能感兴趣的:(IOS 打印语句)