会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
与格律上
博客园
首页
新随笔
联系
订阅
管理
2016年11月21日
Mac 任何选项没有了怎么办?
摘要: 1.如果需要恢复允许“任何来源”的选项,即关闭 Gatekeeper,请打开终端 2.然后使用 spctl 命令: sudo spctl --master-disable
阅读全文
posted @ 2016-11-21 17:17 与格律上
阅读(265)
评论(0)
推荐(0)
2016年11月2日
navigationController显示隐藏问题
摘要: 今天遇到设置: self.navigationController.navigationBarHidden= YES; 点击返回上一个UIViewController的时候这个时候这个navigationController也隐藏了 解决办法: self.navigationController.d
阅读全文
posted @ 2016-11-02 16:48 与格律上
阅读(416)
评论(0)
推荐(0)
cocoa pods出现的错误
摘要: 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 与格律上
阅读(134)
评论(0)
推荐(0)
2016年9月27日
`npm install --save --save-exact react-native` failed
摘要: 当你使用命令行创建一个项目 react-native init 项目名称 后出现以下错误 Installing react-native package from npm... /bin/sh: npm: command not found `npm install --save --save-ex
阅读全文
posted @ 2016-09-27 11:00 与格律上
阅读(4561)
评论(0)
推荐(0)
2016年9月9日
clang: error: linker command failed with exit code 1 (use -v to see invocation)
摘要: clang: error: linker command failed with exit code 1 (use -v to see invocation) 解决办法 : 重新导入下框架
阅读全文
posted @ 2016-09-09 19:42 与格律上
阅读(3568)
评论(0)
推荐(0)
2016年8月6日
<memory> is not a BOMStorage file
摘要: 解决 Autoresizing 和AutoLayout 冲突 设置 self.autoresizingMask = UIViewAutoresizingNone;
阅读全文
posted @ 2016-08-06 16:23 与格律上
阅读(234)
评论(0)
推荐(0)
2016年8月1日
简单实现仿UITabBarController界面
摘要: 第一步:添加两个占位View 第二步:添加子控制器 第三步:添加按钮
阅读全文
posted @ 2016-08-01 14:55 与格律上
阅读(266)
评论(0)
推荐(0)
2016年7月31日
oc 根据文件路径获取文件大小
摘要: 第一种封装: 第二种 block:
阅读全文
posted @ 2016-07-31 21:27 与格律上
阅读(2061)
评论(0)
推荐(0)
collectionView关于点击事件
摘要: -(void)collectionView:(UICollectionView *)collectionView didDeselectItemAtIndexPath:(NSIndexPath *)indexPath - (void)collectionView:(UICollectionView
阅读全文
posted @ 2016-07-31 20:35 与格律上
阅读(2607)
评论(0)
推荐(0)
2016年7月29日
bounds 和 frame
摘要: 使用环境: 一个UIView 添加xib View 时需要注意使用 frame and bounds 代码: frame 和 bounds 对比 样式对比 其实说白了就是 frame: 该view在父view坐标系统中的位置和大小。(参照点是,父亲的坐标系统) bounds:该view在本地坐标系统
阅读全文
posted @ 2016-07-29 12:13 与格律上
阅读(137)
评论(0)
推荐(0)
下一页
公告