随笔分类 -  IOS框架知识

NSDateFormatter setDateFormat 自定义日期/时间格式
摘要:NSDateFormatter setDateFormat 自定義日期/時間格式 參考: http://unicode.org/reports/tr35/tr35-6.html#Date_Format_Patterns 阅读全文

posted @ 2011-06-08 16:03 禚来强 阅读(603) 评论(0) 推荐(0)

静态库
摘要:http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/ 阅读全文

posted @ 2011-06-07 20:15 禚来强 阅读(158) 评论(0) 推荐(0)

Xcode 4 创建静态库
摘要:为了代码保密或者代码重用等等原因需要把现有的代码打包放入静态库中,这也是静态库的好处,所以今天一天都在研究如何用xcode 4创建静态库,也是为了我们的项目需要。QQ发布的微博SDK会报错,也是因为没有把静态库打包为unniver static libraries的原因,至于是什么是unniver static libraries,大家可以google一下。(http://blog.boreal-kiss.net/2011/03/15/how-to-create-universal-static-libraries-on-xcode-4/)下面是创建静态库的方法1.xcode-create p 阅读全文

posted @ 2011-06-07 19:36 禚来强 阅读(945) 评论(0) 推荐(0)

iphone界面元素的大小
摘要:Sizes of iPhone UI Elements Element Size (in points) Window (including status bar) 320 x 480 pts Status Bar (How to hide the status bar) 20 pts View inside window (visible status bar) 320 x 460 Navigation Bar 44 pts Nav Bar Image / Toolbar Image up to 20 x 20 pts (transparent PNG) Tab Bar 49 pts Ta. 阅读全文

posted @ 2011-06-05 20:54 禚来强 阅读(521) 评论(0) 推荐(0)

关于Icon.png设置的官方文档
摘要:Technical Q&A QA1686 引用网址:http://developer.apple.com/library/ios/#qa/qa1686/_index.html App Icons on iPad and iPhone Q: How are the icon files in my application bundle used on iPad and iPhone? A: How are the icon files in my application bundle used on iPad and iPhone? Below are guidelines for ha 阅读全文

posted @ 2011-06-05 20:44 禚来强 阅读(1952) 评论(0) 推荐(0)

图标的圆角和光晕效果和启动画面
摘要:来自于:http://www.xiaweipin.com/archives/28#roundcorner 图标的圆角和光晕效果 圆角效果。图标的圆角效果是系统自动加上的,我们不能控制。这也是为什么我们看到的每个图标,其圆角效果是完全相同的。 光晕效果。光晕效果也是系统加上的,和“圆角”不同的是,光晕效果是一个可选项。我们可以通过设置app的光晕参数(UIPrerenderedIcon),告诉系统是否要为我们的图标打上光晕效果。 总结:1)设计图标时请记得,图标的圆角效果是系统自动加上的,且是我们无法控制的。 2)设计图标前先决定,是否要使用系统内建的“光晕效果”。 每个图标都有相同的圆角。左边 阅读全文

posted @ 2011-06-05 19:50 禚来强 阅读(1234) 评论(0) 推荐(0)

Default命名方法
摘要:Default命名方法 .png 这个就不多说了,方法和icon是一样的,只列出相关的后缀 默认为Default,也可用UILaunchImageFile key设置,在这用Default举例 旋转 方向 -PortraitUpsideDown -LandscapeLeft -LandscapeRight -Portrait -Landscape None 也就是说你可以Default-Portrait.png 来表示竖屏时的加载图像,同样也可以直接Default.png不指定方向 依然是为iphone4准备,用法和icon雷同 Default-Portrait.png与Default-Por 阅读全文

posted @ 2011-06-05 19:44 禚来强 阅读(351) 评论(0) 推荐(0)

What is difference between UIModalTransitionStyle and UIModalPresentationStyle ?
摘要:up vote0down votefavorite For UIViewController, we have UIModalTransitionStyle and UIModalPresentationStyle enter link description hereQuestion is what is the difference of them ?1 Answer activeoldestvotes up vote1down voteaccepted UIModalTransitionStyle is used to specify how the modal form transi. 阅读全文

posted @ 2011-06-04 18:02 禚来强 阅读(822) 评论(0) 推荐(0)

iPhone Objective-C EXC_BAD_ACCESS问题
摘要:iPhone Objective-C EXC_BAD_ACCESS问题写程序遇到 Bug 并不可怕,大部分的问题,通过简单的 Log 或者 代码分析并不难找到原因所在。但是在 Objective-C 编程中遇到 EXC_BAD_ACCESS 问题的时候,通过简单常规的手段很难发现问题。 写程序遇到 Bug 并不可怕,大部分的问题,通过简单的 Log 或者 代码分析并不难找到原因所在。但是在 Objective-C 编程中遇到 EXC_BAD_ACCESS 问题的时候,通过简单常规的手段很难发现问题。这篇文章,给大家介绍一个常用的查找 EXC_BAD_ACCESS 问题根源的方法。 首先说一下 阅读全文

posted @ 2011-05-30 17:48 禚来强 阅读(367) 评论(0) 推荐(0)

证书,请求,签名,配置文件详解(图)
摘要:上传app流程图详情查看:http://developer.apple.com/library/ios/#documentation/xcode/conceptual/iphone_development/128-Managing_Devices_and_Digital_Identities/devices_and_identities.html#//apple_ref/doc/uid/TP40007959-CH4-SW2 阅读全文

posted @ 2011-05-30 13:56 禚来强 阅读(316) 评论(0) 推荐(1)

导航