Sportica   Sportica

注册消息来判断屏幕是否旋转

[[NSNotificationCenterdefaultCenter] addObserver:selfselector:@selector(deviceOrientationChange) name:UIDeviceOrientationDidChangeNotificationobject:nil];

posted @ 2014-04-11 14:35  qingjoin  阅读(226)  评论(0编辑  收藏  举报
  Sportica