1
之前新的宽度我想知道新的宽度我UIViewControllers
视图将有一个旋转的变化后,但我已经需要这些信息在计算UIVIews旋转
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
方法,所以我不能访问框架或边界属性。
我尝试使用图层属性presentationLayer
和modelLayer
,但没有找到正确的解决方案。
如果有人知道解决方案或者可以提供一些思路,那将会很棒。