<!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Heiti SC Light'} -->
需要打印的东东;
1.core animation programming guide
2.scrollviewcontroller programming guide
3.Quarz2Dprogramming guide
------------------------- - - - - - - - - - -
<!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Lucida Grande'} span.s1 {font: 13.0px 'Heiti SC Light'} -->
as is: 原样.
xcode4snapshot快照功能:
File->create snapshot.
restore:Window > Organizer->project.
wantsFullScreenLayout @property(nonatomic,assign) BOOL wantsFullScreenLayout self.navigationController.wantsFullScreenLayout = YES; statusBarStyle @property(nonatomic) UIStatusBarStyle statusBarStyle; application.statusBarStyle = UIStatusBarStyleBlackTranslucent;
打印所有window的子视图
递归函数:
[self performSelector: @selector(printWindowSubViews) withObject: nil afterDelay: 2.0]; -(void) printWindowSubViews { printSubViews(self.window, 0); } // 递归 void printSubViews(UIView *parentView, int indent) { for(int i = 0; i < indent; i++) { printf("-"); } printf("[%2d] %s, frame = %s\n", indent, [[[parentView class] description] UTF8String], [NSStringFromCGRect(parentView.frame) UTF8String]); for(UIView *v in parentView.subviews) { printSubViews(v, indent + 1); } }
作业:
1. NavigationController Back Button
2. 给TabBarController设置图标、标题
3. statuBarStyle, UIViewController.view为什么会透到StatusBar下面
self.navigationController.navigationBar.barStyle = UIBarStyleBlack; self.navigationController.navigationBar.translucent = YES;
navigationController1.tabBarItem = [[UITabBarItem alloc] initWithTitle: @"First" image: [UIImage imageNamed: @"Third.png"] tag: 1000];
<!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Heiti SC Light'} -->

被折叠的 条评论
为什么被折叠?



