摘要: 第一步,下载SDWebImage,导入工程。github托管地址https://github.com/rs/SDWebImage 第二步,在需要的地方导入头文件 1 #import "UIImageView+WebCache.h" 第三步,调用sd_setImageWithURL:方法缓存图片,注意 阅读全文
posted @ 2016-03-10 16:24 zhen_zhen 阅读(123) 评论(0) 推荐(0) 编辑
摘要: a.h 中: typedef void (^ReturnAmountBlock)(NSString *showText); @interface amoutViewcontroller : UIViewController @property (nonatomic, copy) ReturnAmou 阅读全文
posted @ 2016-03-10 10:48 zhen_zhen 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1: - (IBAction)ImageBtnAction:(id)sender { if (!self.ImageBtn.selected) { selecImageBlocks(self.PhoneStr); } else{ removeImageBlocks(self.PhoneStr); } 阅读全文
posted @ 2016-03-10 10:33 zhen_zhen 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 刷新固定的行 [_tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone]; [SeletPersonList addObject:str]; if ([selectpers 阅读全文
posted @ 2016-03-10 10:29 zhen_zhen 阅读(183) 评论(0) 推荐(0) 编辑