'NSInternalInconsistencyException', reason: 'UICollectionView received layout attributes for a cell with an index path t…
//判断运行时类是ipad,如果是则返回true,否则返回false +(BOOL)IsIpad { if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterf…
现象是使用其他机型、模拟器都可以,但是使用真机iPhone 6s会出现轻触可以,但是重点击无法响应点击事件问题, 最后发现问题是因为引用了一个库,库中使用了类似 - (void)touchesBegan:(NSSet *)touches w…
- (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:YES]; self.navigationController.interactiveP…
参考:http://ios.jobbole.com/93171/ 第一步, 创建 .sh 文件。代码如下。 #!/bin/bash RAMDISK=”ramdisk” SIZE=1024 #size in MB for ramdisk. d…
[root@localhost jsxiu_vip]# sed -i s/"需要替换的内容"/"替换后的内容"/g `grep "需要替换的内容" -rl --include="*" ./`
Linux下php安装Redis扩展 安装环境:CentOS 6.4 1、下载 下载地址:http://pecl.php.net/package/redis 文件名:phpredis-2.2.4.tar.gz 文件下载成功后,上传至/us…
systemctl disable firewalld systemctl stop firewalld
1,先将iso镜像转为dmg格式 hdiutil convert -format UDRW -o ubuntu-16.04-desktop-amd64.dmg ubuntu-16.04-desktop-amd64.iso voidcat:c…
更多...
加载中...