5-13

<!-- 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'} -->

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值