摘要:
在iOS 5下画面的旋转都是shouldAutorotateToInterfaceOrientation来控制的,但是这个函数在ios6下不起作用。在iOS 6下使用supportedInterfaceOrientations、shouldAutorotate来控制。如果单一的控制画面那么只需要加在上面两个函数。如下:123456789- (BOOL)shouldAutorotate { return YES;}- (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskAll;}如果是含有.. 阅读全文
posted @ 2013-04-17 11:35
高笑228
阅读(220)
评论(0)
推荐(0)

浙公网安备 33010602011771号