摘要: UIImage *normalImage = [UIImage imageNamed:@"xx.png"];//ios5以前实现拉伸图片指定位置的方法UIImage *newImage = [normalImage stretchableImageWithLeftCapWidth:normalIm... 阅读全文
posted @ 2016-01-14 17:39 CheungSir 阅读(255) 评论(0) 推荐(0) 编辑
摘要: //偏好设置是专门用来保存应用程序的配置信息的, 一般情况不要再偏好设置中保存其他数据// 如果利用系统的偏好设置来存储数据, 默认就是存储在Preferences文件夹下面的// 偏好设置会将所有的数据保存到同一个文件中// 获取NSUserDefaults对象NSUserDefaults *de... 阅读全文
posted @ 2016-01-14 16:40 CheungSir 阅读(448) 评论(0) 推荐(0) 编辑