如何获得iOS屏幕的尺寸?
目前,我使用:
lCurrentWidth = self.view.frame.size.width;
lCurrentHeight = self.view.frame.size.height;
在viewWillAppear:和willAnimateRotationToInterfaceOrientation:duration:
我第一次得到整个屏幕的大小。第二次我得到屏幕减去导航栏。
相似问题