上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要:  UIWebView *viewWeb = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];     viewWeb.backgroundColor = [UIColor whiteCol 阅读全文
posted @ 2016-03-15 12:28 zhen_zhen 阅读(117) 评论(0) 推荐(0) 编辑
摘要:  //gzz0315     UIScrollView *Scrview = [[UIScrollView alloc]initWithFrame:CGRectMake(0,0,SCREEN_WIDTH, SCREEN_HEIGHT                                   阅读全文
posted @ 2016-03-15 11:50 zhen_zhen 阅读(152) 评论(0) 推荐(0) 编辑
摘要:   #import <UIKit/UIKit.h>   @interface UITabBar (badge) - (void)showBadgeOnItemIndex:(int)index;   //显示小红点 - (void)hideBadgeOnItemIndex:(int)index; // 阅读全文
posted @ 2016-03-14 13:35 zhen_zhen 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 文/si1ence(简书作者)原文链接:http://www.jianshu.com/p/2b79b520d61c著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。- (instancetype)init { self = [super init]; if (self) { // 注册通 阅读全文
posted @ 2016-03-11 19:05 zhen_zhen 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 代理: - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { //将分割线拉伸到屏幕的宽度 if 阅读全文
posted @ 2016-03-11 17:19 zhen_zhen 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 第一步,下载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) 编辑
摘要: 下面介绍我最后使用的一个办法。 先把图片直接存储到沙盒中。 然后plist文件中记录图片的路径。然后要使用图片的时候通过访问plist文件获取图片路径来调用。 下面是使用示例: 一。图片存储到沙盒中 NSArray *paths = NSSearchPathForDirectoriesInDomai 阅读全文
posted @ 2016-03-09 09:51 zhen_zhen 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页