上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 一、动态计算label高度 (忽略请看二、三) - (CGFloat)updateCellContentFrame{ CGRect myRect = [self boundingRectWithInitSize:_contentLabel.frame.size label:_contentLabel 阅读全文
posted @ 2016-05-11 16:44 徒步阳光855 阅读(189) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; // [self firstUIScrollView]; [self secondUIScrollView]; } // 给定的frame 正常的显示 - (void)firstUIScrollView{ UISc 阅读全文
posted @ 2016-05-05 18:14 徒步阳光855 阅读(126) 评论(0) 推荐(0) 编辑
摘要: // 栈:只有一口 ,先进后出 ;push 入栈 ; pop 出栈 ; // 队列:有两个口 ,先进先出; //导航控制器: 容器 ;实现视图控制器界面之间的跳转 ; UINavigationController * nav = [[UINavigationController alloc]init 阅读全文
posted @ 2016-05-05 17:48 徒步阳光855 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 花瓶 之前接触过,用花瓶抓包进行数据的解析,下面是网上的下载链接 (第三方下载),原网站下载太慢 http://xclient.info/s/charles.html 最新3.11.4版本 注册码的使用是在最上方的help 中进行注册 Name: xclient Serial: 18e69f6d5b 阅读全文
posted @ 2016-05-04 16:01 徒步阳光855 阅读(1777) 评论(2) 推荐(0) 编辑
摘要: NSString *parameterUrlStr = [NSString stringWithFormat:@"中文的字体"]; NSStringEncoding gbkEncoding = CFStringConvertEncodingToNSStringEncoding(kCFStringEn 阅读全文
posted @ 2016-04-27 16:23 徒步阳光855 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 证书都不可以使用 今天早上 上班发现钥匙串中的所有证书 都 提示此证书签发者无效经查找得知系统证书WWDR在2016年2月14日失效,需要更新WWDR系统证书下载证书地址https://developer.apple.com/certificationauthority/AppleWWDRCA.ce 阅读全文
posted @ 2016-04-11 17:48 徒步阳光855 阅读(159) 评论(0) 推荐(0) 编辑
摘要: UIWebView *view = [[UIWebView alloc] initWithFrame:kScreenBounds]; [view setUserInteractionEnabled:YES]; [view setScalesPageToFit:YES]; [self.view add 阅读全文
posted @ 2016-04-06 11:54 徒步阳光855 阅读(100) 评论(0) 推荐(0) 编辑
摘要: NSMutableDictionary *dic = [[NSMutableDictionary alloc] init]; [dic setValue:@"标签内容" forKey:@"content"]; [dic setValue:@257 forKey:@"x"]; [dic setValu 阅读全文
posted @ 2016-03-31 14:19 徒步阳光855 阅读(133) 评论(0) 推荐(0) 编辑
摘要: UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; CGFloat itemWidth = (kScreenWidth - 30) / 2; CGFloat itemHeight = 260; 阅读全文
posted @ 2016-03-25 15:34 徒步阳光855 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 我们讲讲最后的两条新的 VFL 语句: H:[view]-[view2(>=50)] 从开始的 H: 我们可以判断出这是水平方向的布局,换句话说就是设置视图的 x 和 width。接着的 [view],说明后面的所有视图都是在 view 的右侧;接着是 -,说明后一个视图和 view之间有一个标准距 阅读全文
posted @ 2016-03-10 17:31 徒步阳光855 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页