随笔分类 -  PitClimbing

爬坑笔记
摘要:今天遇到设置: self.navigationController.navigationBarHidden= YES; 点击返回上一个UIViewController的时候这个时候这个navigationController也隐藏了 解决办法: self.navigationController.d 阅读全文
posted @ 2016-11-02 16:48 与格律上 阅读(424) 评论(0) 推荐(0)
摘要:ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod 解决办法: sudo gem install -n /usr/local/bin cocoapods 阅读全文
posted @ 2016-11-02 16:44 与格律上 阅读(138) 评论(0) 推荐(0)
摘要:clang: error: linker command failed with exit code 1 (use -v to see invocation) 解决办法 : 重新导入下框架 阅读全文
posted @ 2016-09-09 19:42 与格律上 阅读(3582) 评论(0) 推荐(0)
摘要:解决 Autoresizing 和AutoLayout 冲突 设置 self.autoresizingMask = UIViewAutoresizingNone; 阅读全文
posted @ 2016-08-06 16:23 与格律上 阅读(238) 评论(0) 推荐(0)
摘要:-(void)collectionView:(UICollectionView *)collectionView didDeselectItemAtIndexPath:(NSIndexPath *)indexPath - (void)collectionView:(UICollectionView 阅读全文
posted @ 2016-07-31 20:35 与格律上 阅读(2610) 评论(0) 推荐(0)
摘要:使用环境: 一个UIView 添加xib View 时需要注意使用 frame and bounds 代码: frame 和 bounds 对比 样式对比 其实说白了就是 frame: 该view在父view坐标系统中的位置和大小。(参照点是,父亲的坐标系统) bounds:该view在本地坐标系统 阅读全文
posted @ 2016-07-29 12:13 与格律上 阅读(141) 评论(0) 推荐(0)
摘要:开发版本 7.0 @property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints NS_AVAILABLE_IOS(6_0); // Default YES 此属性 6.0 版本 错误提示: 解决办法: 出错的View . tr 阅读全文
posted @ 2016-07-29 11:39 与格律上 阅读(655) 评论(0) 推荐(0)