2012-09-08から1日間の記事一覧
self.tabBarController.selectedIndex = 3;
retinaなのかどうかを調べるの、以下でいいと思ったけど駄目なのか。 CGRect r = [[UIScreen mainScreen] bounds]; CGFloat width = r.size.width; if(width == 320) { NSLog(@"320!"); } else if (width == 640) { NSLog(@"640 retina!"); } else { NSLog(@…