ios系统(ios system)
titer1991
这个作者很懒,什么都没留下…
展开
-
iOS应用程序生命周期(前后台切换,应用的各种状态)详解
原文地址:http://blog.csdn.net/totogo2010/article/details/8048652 iOS的应用程序的生命周期,还有程序是运行在前台还是后台,应用程序各个状态的变换,这些对于开发者来说都是很重要的。 iOS系统的资源是有限的,应用程序在前台和在后台的状态是不一样的。在后台时,程序会受到系统的很多限制,这样可以提高电池的使用和用户体验。转载 2013-02-04 13:49:15 · 308 阅读 · 0 评论 -
iPhone应用程序中App目录结构
了解iPhone应用程序中App目录结构首先我们知道iPhone的App的目录结构如下: 对于一个运行在iPhone的App,它只能访问自己根目录下的一些文件(即所谓沙盒sandbox保护机制)。一个app发布到iPhone上后,它的目录结构如下:其中的app root根目录可以用NSHomeDirectory()访问到;Documents目录就是我转载 2013-01-21 13:34:24 · 2498 阅读 · 0 评论 -
判断ios系统版本
#define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue] if(IOS_VERSION >= 4.3){ .............}else{ .............}原创 2013-02-18 13:37:56 · 492 阅读 · 0 评论 -
xcode git版本管理
删除版本管理:cd 目录find . -type d -name ".svn"|xargs rm -rforrm -fr .git创建版本库:cd 目录git initgit add .git commit -m 'Initial commit'原创 2013-04-12 11:20:53 · 507 阅读 · 0 评论 -
使用RGB设置UIColor
#define RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((fl原创 2013-05-10 10:57:52 · 1075 阅读 · 0 评论