![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
解决方案
叶露小荷
这个作者很懒,什么都没留下…
展开
-
Xcode7在运行包含HTTP协议的程序时报错解决方法 App Transport Security has blocked a cleartext HTTP (http)
xcode7项目中的文件如果包含HTTP协议在运行的时候控制台会报错,显示如下:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's In原创 2015-12-10 19:38:15 · 203 阅读 · 0 评论 -
VM虚拟机 安装OS X 错误vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1123
新建一个虚拟机, 选择客户机操作系统为Apple MacOS X 10.10, 其余参数可以默认。 注意建好之后不要急着打开客户机, 因为直接打开你会发现新建的客户机将会无法启动。 仔细阅读Mac OS X Unlocker for VMware V2.0里面的readme.txt你将会找到答案,VMware 11 默认建立好的OSX客户机直接运行会Crash, 有两个方案解决: VM换成HW原创 2015-12-13 13:17:06 · 714 阅读 · 0 评论 -
创建UICollectionView时出错UICollectionView must be initialized with a non-nil layout parameter
以前没怎么用过ConllectionView,因为突然要用所以, 像往常一样安习惯创建了一个ConllectionView UICollectionViewController *note = [[UICollectionViewController alloc]init];[self.navigationController pushViewController:note animated:Y原创 2015-12-14 21:47:50 · 2536 阅读 · 0 评论 -
Xcode出现The operation couldn’t be completed. (LaunchServicesError error 0.)错误
今天Xcode出现 The operation couldn’t be completed. (LaunchServicesError error 0.) 错误 每次运行程序的时候都会提示,在模拟器中删除后重新运行时没有问题,但是第二次重新运行时又会出错。 在网上搜了很多种方法都没有解决。 最后自己在退出Xcode和模拟器的情况下,删除了~/Library/Developer/下的X原创 2015-12-20 02:03:21 · 442 阅读 · 0 评论 -
'UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0设置UILabel的居中对齐时出错
'UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0设置UILabel的居中对齐时出错为UILabel设置文字居中对齐时textLabel.textAlignment = UITextAlignmentCenter;系统报警告原创 2016-01-09 15:37:56 · 503 阅读 · 0 评论 -
NSString类型转换为int值时出错
if (dict.fprice.intValue == 0) { } dict.fprice是NSString类型的 本来写了一个判断是这样的,但是当运行的时候发现,不管fprice为多少时dict.fprice.intValue始终是0; 半天没有发现原因,后来换了一种写法,问题解决了。id result; NSNumberFormatter *f = [[NSNumberForm原创 2016-04-12 19:26:47 · 412 阅读 · 0 评论