Dmi*_*try 0 iphone
如何手动调用shouldAutorotateToInterfaceOrientation?
这个功能的内容有开/关标志,所以当我改变这个标志时,我需要旋转屏幕.
例:
UIA*_*dam 5
如果您的目标是iOS 5,则可以致电
[UIViewController attemptRotationToDeviceOrientation]
它将调用shouldAutorotateToInterfaceOrientation:设备的当前方向,并在该方法返回时旋转接口YES.
shouldAutorotateToInterfaceOrientation:
YES
归档时间:
14 年,5 月 前
查看次数:
2500 次
最近记录:
12 年,8 月 前