2015年6月1日

创建plist并写入

摘要: 1. 创建一个plist文件 NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES); NSString *path=[paths objectAtIndex:0... 阅读全文

posted @ 2015-06-01 18:10 自渔 阅读(200) 评论(0) 推荐(0) 编辑

将UIView 转换为图片

摘要: - (UIImage *)getImageFromView:(UIView *)view{ UIGraphicsBeginImageContext(view.bounds.size); [view.layer renderInContext:UIGraphicsGetCurrentContext... 阅读全文

posted @ 2015-06-01 17:18 自渔 阅读(749) 评论(0) 推荐(0) 编辑

导航