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

浙公网安备 33010602011771号