![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
Amencome
这个作者很懒,什么都没留下…
展开
-
安装cocoaPods时出现的错误
[!] Invalid `Podfile` file: undefined method `plaplatform' for #. Updating CocoaPods might fix the issue. # from /Users/mac/Desktop/menyingjin/XX/Podfile:1 # --------------------------------原创 2014-11-24 21:59:28 · 7219 阅读 · 0 评论 -
Xcode中iOS DeviceSupport 文件过大
由于自己的硬盘小,所以今天找了下占硬盘的到底是什么不看不知道一看吓一跳啊。竟然有41个G。文件夹的含义一看便知道是做什么的。最终iOS DeviceSupport 这个文件夹时最大的。30多个G。在群里问了下“道友”。给我发了个链接http://stackoverflow.com/questions/29930198/can-i-delete-data-from-ios-devic原创 2016-10-17 11:39:27 · 21007 阅读 · 0 评论 -
在github上下载单个文件夹
以前看别人的代码时总是全部都下载到本地。但是今天看到有的人一个库中放着N多的小demo的文件夹,而这时我又不想都下载。例如:https://github.com/yangqian111/blog/tree/master/iOS%20RunTime%E8%A7%A3%E6%9E%90 这是一个runtime的小demo。我只想下载这个demo不想下其他的可以 在终端输入 svn check原创 2016-11-16 16:01:38 · 2747 阅读 · 0 评论 -
Library not found for -lAPOpenSdk
在使用友盟分享时,我遇到了Library not found for -lAPOpenSdk。 先在Podfile 注掉#pod 'UMengSocial', '~> 4.3'#友盟分享,然后在终端 pod install 一次。然后在 Podfile里放开pod 'UMengSocial', '~> 4.3'#友盟分享。然后子啊 pod install 一次就解决了原创 2016-03-01 14:33:21 · 4707 阅读 · 0 评论 -
iOS9 This application is modifying the autolayout engine from a background thread, which
以前在Xcode7之间项目没有问题,但是使用Xcode7后 突然不好使了,This application is modifying the autolayout engine from a background thread, which can lead to engi....查了查资料 把需要更新UI的放在的主线程就好了。(不懂什么原理但暂时解决的问题)链接 http://stack原创 2015-10-14 11:22:59 · 11929 阅读 · 2 评论 -
Xcode git commit失败 unable to auto-detect email address
解决方案 ::::原创 2015-10-13 17:43:46 · 900 阅读 · 0 评论 -
使用UITabBarViewCOntroller时隐藏tabbar
在viewController中写入 UITabBarController *tab =(UITabBarController *)self.parentViewController; tab.tabBar.hidden =YES; 即可隐藏原创 2015-10-21 17:03:11 · 745 阅读 · 0 评论 -
iOS 改变状态栏的颜色(样式)
在需要改变状态栏的VC里添加如下代码:- (void)viewWillAppear:(BOOL)animated{ [superviewWillAppear:animated]; [selfsetNeedsStatusBarAppearanceUpdate];}- (UIStatusBarStyle )preferredStatusBarStyle原创 2015-10-20 18:15:52 · 569 阅读 · 0 评论 -
xcode6.1使用singleViewApplication创建工程无法向window添加控件
今天本来是研究启动动画的,使用singleViewApplication创建工程无法向window添加控件,怎么也加不上去,最后在 往window上添加前 要写一句 [self.window makeKeyAndVisible]; 这样就出来了。。。。。还是学的少啊!原创 2015-04-28 15:28:12 · 680 阅读 · 0 评论 -
xcode本地git仓库和远程仓库绑定
今天下午研究了半天第一:是在github上建立远程仓库,然后git clone 到本地 然后再本地创建xcode项目 即已经练级成功;第二 :是本地已经有git 库了,然后再github新建一个远程仓库 , 在本地终端 进入到项目的目录下(即包含git库的目录下)输入git remote add origin git@github.com:Amencome原创 2015-04-29 17:27:30 · 2222 阅读 · 0 评论 -
[Accessibility] ****************** Loading GAX Client Bundle ****************
突然有一天开始运行代码时会打印出出这么一串字,查了下原来是通用->辅助功能->引导式访问打开才会出现。并没什么影响。不想看到的话,只要把引导式访问关掉就可以。原创 2017-01-13 17:03:37 · 1887 阅读 · 0 评论