2012年6月28日
摘要: iPhone和iPad的图标图标是IOS程序包所必需的组成部分。如果你没有提供程序所需的各种尺寸的图标,程序上传发布时可能会无法通过验证。IOS程序为兼顾不同的应用场景,定义了多个不同规格的图标,并以不同的命名区分:IOS图标尺寸一览iPhone专用程序:图标名称大小圆角用途必需Icon.png57 X 5710px用于程序商店和在iPhone/iPod Touch中显示必需Icon@2x.png114 X 11420pxIcon.png的高清模式Icon-Small.png29 X 2920px用于设置和Spotlight搜索Icon-Small@2x.png58 X 588pxIcon-S 阅读全文
posted @ 2012-06-28 11:38 tx天翔 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 例子如下:NSMutableArray*buttonTitles =[NSMutableArray array];if(condition1){ [buttonTitles addObject:@"Do action 1"];}if(condition2){ [buttonTitles addObject:@"Do action 2"];}if(condition3){ [buttonTitles addObject:@"Do action 3"];}if(condition4){ [buttonTitles addObject:@& 阅读全文
posted @ 2012-06-28 09:37 tx天翔 阅读(212) 评论(0) 推荐(0) 编辑