2012-09-22から1日間の記事一覧

shouldAutorotateToInterfaceOrientation:はdeprecatedだよ!

iOS 6以前の「ねむスタ」ではこんな感じで各タブのビューを回転させるかさせないかを決めていた。 MyTabBarController.m - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation { if (self.tabBarController.sele…

iOS 6 時代の画面の回転の話

iOS SDK Release Notes for iOS 6 の中に画面の回転について記述がある。 かなり長くなるけど引用。 iOS SDK Release Notes for iOS 6 ・Autorotation is changing in iOS 6. In iOS 6, the shouldAutorotateToInterfaceOrientation: method of UIViewContro…