iOS监听设备方向的方法

1.添加监听函数  [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];          [[NSNotificationCenter defaultCenter] addObserver:self                                                     
相关文章
相关标签/搜索