UIDevice currentDevice's “orientation” always null

后端 未结 5 1753
一生所求
一生所求 2020-12-18 00:23

As per the title. Calling [[UIDevice currentDevice] BeginGeneratingDeviceOrientationNotifications] has no effect.

DidRotateToInterfaceOrientation etc events are wor

5条回答
  •  感动是毒
    2020-12-18 00:27

    seems like a silly question, but isn't it

    beginGeneratingDeviceOrientationNotifications

    ( lower case b ) ...

提交回复
热议问题