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

posted @ 2014-07-28 20:29  xubojoy  阅读(281)  评论(0编辑  收藏  举报