上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: // // SearchDocviewcontroller.m // Patient // // Created by gzz on 15/9/21. // Copyright (c) 2015年 ShangYu. All rights reserved. // #import "SearchDoc 阅读全文
posted @ 2016-07-14 16:34 zhen_zhen 阅读(156) 评论(0) 推荐(0) 编辑
摘要: // // 数据存储的总结.h // 08-数据存储-总结 // // Created by apple on 15-6-5. // Copyright (c) 2015年 itcast. All rights reserved. // /* 数据存储 1.什么能做plist存储 1.writeTo 阅读全文
posted @ 2016-07-14 11:53 zhen_zhen 阅读(90) 评论(0) 推荐(0) 编辑
摘要: // 实现滑动删除 // 什么时候调用 - (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexP 阅读全文
posted @ 2016-07-14 11:50 zhen_zhen 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 先调整分辨率,分辨率可以自己设定一个值,大于的就缩小到这分辨率,小余的就保持原本分辨率。然后在根据最终大小来设置压缩比,比如传入maxSize = 100k,最终计算大概这个大小的压缩比。基本上最终出来的图片数据根据当前分辨率能保持差不多的大小同时不至于太模糊,跟微信,微博最终效果应该是差不多的,代 阅读全文
posted @ 2016-07-06 13:42 zhen_zhen 阅读(1681) 评论(0) 推荐(0) 编辑
摘要: - (IBAction)up { // 1.拿到按钮, UIButton *head = (UIButton *) [self.view viewWithTag:10]; // 2.通过tranform让头像向上走 // CGFloat tx:表示水平方向的移动范围 // CGFloat ty:垂直 阅读全文
posted @ 2016-07-05 15:01 zhen_zhen 阅读(586) 评论(0) 推荐(0) 编辑
摘要: uibutton *btn =(uibutton *)【self.view viewWithTag:10】; nsstringFromRect(frame) 阅读全文
posted @ 2016-07-05 15:00 zhen_zhen 阅读(174) 评论(0) 推荐(0) 编辑
摘要: // self.head.frame.origin.y = self.head.frame.origin.y - 10; // 不能直接访问对象的 结构体属性 的成员变量\ // 能够直接访问对象的结构体属性 // self.head.frame // 1.取出对象的结构体属性frame,赋值给临时 阅读全文
posted @ 2016-07-05 14:52 zhen_zhen 阅读(161) 评论(0) 推荐(0) 编辑
摘要: //相册 #import <AssetsLibrary/AssetsLibrary.h> //gzz0630 照相机 NSString * mediaType = AVMediaTypeVideo; AVAuthorizationStatus authorizationStatus = [AVCap 阅读全文
posted @ 2016-06-30 15:51 zhen_zhen 阅读(156) 评论(0) 推荐(0) 编辑
摘要: From Apple 2.1.0 - App Completeness Hello Mr. Gao, Call ticket: 1437282Thank you for your time during our call today. As we discussed, your app was fo 阅读全文
posted @ 2016-06-28 10:32 zhen_zhen 阅读(221) 评论(0) 推荐(0) 编辑
摘要: ////这个也有用 //- (nullable NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath{ // 阅读全文
posted @ 2016-06-21 15:54 zhen_zhen 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页