学习的第三天

时间:2020-12-29 19:12:33

《iphone3开发基础教程(完整版)》中第五章的时候,在定义-(void)willAnimateRotationToInterfaceOrientation: (UIInterfaceOrientation) 的时候,按tab键很容易把后面的interfaceOrientation自动填写为toInterfaceOrientation,导致后面使用interfaceOrientation时候报错为“未声明的标识符”;


《iphone3开发基础教程(完整版)》中第五章提到“重命名nib的主窗口中的图标,需要单击视图将其选中,等待几秒钟,然后单击图标的名称。等待图标的名称变为可编辑状态,然后可以输入新名称”,实际在xcode4.2后修改view的名字方法为“选中View后在Identity inspector中修改Identity的Label就可以了”。