标签:nbsp log its size view layout void you views
第一种办法:
[myImageView layoutIfNeeded]; NSLog(@"w: %f, h: %f", myImageView.bounds.size.width, myImageView.bounds.size.height);
第二种办法:
- (void)viewDidLayoutSubviews { // VC just laid off its views }
标签:nbsp log its size view layout void you views
原文地址:http://www.cnblogs.com/timelog/p/7754843.html