11 2015 档案
摘要:File.documentsDirectory,File.userDirectory,File.desktopDirectory等。可以保存大的数据,如图片,视屏,和临时文件。访问这些文件的全选是:,在使用之前,确认是否有sd卡:If(File.userDirectory==true)//proce...
阅读全文
摘要:原文:Touch Events and Gestures on Mobile作者:Paul TraniGone are the days of the simple mouse click when it comes to mobile devices.In fact, there’s a lot ...
阅读全文
摘要:#import 1、 三角函数double sin (double);正弦double cos (double);余弦 double tan (double);正切2 、反三角函数 double asin (double); 结果介于[-PI/2, PI/2] double acos (dou...
阅读全文
摘要:第一部分、前几天做动画,使用到了CATransform3D ,由于没有学过计算机图形学,矩阵中m11--m44的各个含义都不清楚,经过几天研究总结如下:(供和我一样的菜鸟学习){CGFloat m11(x缩放), m12(y切变), m13(), m14();CGFloat m21(x切变), m2...
阅读全文
摘要:报错the file "xxx.app" couldn't be opened because you don't have permission to view it.后发现对应target的info文件中的字段Executable file (CFBundleExecutable)值是VANCL...
阅读全文
摘要:NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc]init];paragraphStyle.lineBreakMode = NSLineBreakByWordWrapping;上边两句代码一定要加,否则...
阅读全文
摘要:今天下午动手用了IOS自带的定位,结果在网上看了很多教程,也将示例代码直接运行,但就是一直无法获取位置,代码如下:首先导入CoreLocation.framework,然后再引入头文件#import定义属性?1@property (nonatomic , strong)CLLocationManag...
阅读全文
摘要:引人:iOS真机调试程序,报如下错误信息:failed to get the task for process XXX原因:证书问题,project和targets的证书都必须是开发证书,ADHOC的证书会出现此问题。解决方案:project和targets的证书使用开发证书。其他:failed t...
阅读全文
浙公网安备 33010602011771号