iOS監聽設備方向的方法

1.添加監聽函數  [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];          [[NSNotificationCenter defaultCenter] addObserver:self                                                     
相關文章
相關標籤/搜索