XCode4.2学习日志 2012.11.25

来源:互联网 发布:大麦盒子官网软件 编辑:程序博客网 时间:2024/06/06 07:54

买了中文的《[iOS5开发基础教程].(Beginning.iOS.5.Development.Exploring.the.iOS.SDK》开始后面的继续学习

顺道鄙视下自己很久没有摸书了


1、第五章5.3.2在旋转时移动按钮(Moving the Buttons on Rotation)注意重写部分代码的红色代码的输入,容易出错

- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)

interfaceOrientation duration:(NSTimeInterval)duration {

if (UIInterfaceOrientationIsPortrait(interfaceOrientation)) {

......

}

}

原创粉丝点击