摘要: This is the much overdue followup to Part 1 which can be found here:http://www.rumexit.co.uk/2010/07/how-to-customise-the-tab-bar-uitabbar-in-an-iphone-application-part-1-of-2/We had subclassed UITabBarController and hidden the existing buttons. Now all we need to do is replace then and create the f 阅读全文
posted @ 2012-10-19 15:58 devliubo 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.rumex.it/2010/07/how-to-customise-the-tab-bar-uitabbar-in-an-iphone-application-part-1-of-2/Just as we were about to go live with iOrlando, it became clear that due to some requirements from our sponsor a standard UITabBar would not work for our needs. The sponsor wanted to use just t 阅读全文
posted @ 2012-10-19 15:57 devliubo 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 设置背景图片 UIImageView* backgroundImage = [[UIImageView alloc]initWithImage:[UIImage imageNamed: @"bg.png"]]; backgroundImage.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); [self.view addSubview:backgroundImage]; [self.view sendSubviewToBack:backgroundImag.. 阅读全文
posted @ 2012-10-11 10:47 devliubo 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Cocoa是在Mac OS X系统上原生的一个编译环境。他包含两个框架,其实就是一系列的类库,Foundation和AppKit。在你的iPhone等掌上设备上,使用的则是他的一个子类 - Cocoa Touch。他所支持的Foundation框架与Cocoa相同,但他的用户图形类库为UIKit,它是为掌上设备特殊设计,提供了你设备上的界面。Cocoa Touch与Cocoa一个比较鲜明的区别就是Cocoa Touch并不支持垃圾回收机制,这就意味着你必须在你的代码里管理好你的内存。Foundation提供了一系列基础数据类型、以及枚举、容器的支持。来自于这个框架的类名以NS开头。UIKiti 阅读全文
posted @ 2012-10-11 10:32 devliubo 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 测试1 阅读全文
posted @ 2012-10-05 16:50 devliubo 阅读(65) 评论(0) 推荐(0) 编辑