摘要: 1标题颜色:(在默认显示的标题中直接修改文件的大小和颜色也是可以的)[self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:19],N... 阅读全文
posted @ 2015-12-01 13:51 欢欢0919 阅读(228) 评论(0) 推荐(0)
摘要: 1,判断SuperView1 - (void)willMoveToSuperview:(UIView *)newSuperview2 {3 [super willMoveToSuperview:newSuperview];4 5 if (!newSuperview)6 ... 阅读全文
posted @ 2015-12-01 11:12 欢欢0919 阅读(197) 评论(0) 推荐(0)
摘要: 开始可以使用ARC( Automatic Reference Counting:自动引用计数 )来代替之前的MRC(Manual Reference Counting:人工引用计数)。使用ARC会减少很多代码和忘了释放对象的苦恼。但是事情都有两面性。使用了ARC之后如果你想复用以前写过的使用MRC的... 阅读全文
posted @ 2015-12-01 10:57 欢欢0919 阅读(192) 评论(0) 推荐(0)