查看帧大小高度= 0

Fin*_*ist 0 iphone objective-c

当我从ViewController返回时,我得到0:

NSLog(@"%i",self.view.frame.size.height);
Run Code Online (Sandbox Code Playgroud)

在"界面"构建器中,"查看它的管理"占据整个屏幕.

救命 ?

Mis*_*Moo 5

Height is a float. Use %f to log it.