上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页
摘要: 1. 已经安装了Xcode6,如何再安装Xcode5,并使两者共存? 2. Xcode6升级到Xcode7 适配问题 3. XCODE6中使用iOS7 SDK的方法: 从XCODE 5的目录中: /Applications/Xcode.app/Contents/Developer/Platforms 阅读全文
posted @ 2016-03-23 16:25 抓狂的ZXY 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.csdn.net/phunxm/article/details/42174937 设备 iPhone 宽 Width 高 Height 对角线 Diagonal 逻辑分辨率(point) Scale Factor 设备分辨率(pixel) PPI 3GS 2.4 inc 阅读全文
posted @ 2016-03-23 14:09 抓狂的ZXY 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 一. 开发iOS,必然少不了和XCode这个家伙打交道。平时我们调试自己的App的时候,最常用到的就是模拟器Simulator了,调试的时候,我们的App会自动被XCode安装到模拟器中去,不过: 不要读文档了,赶紧来看一看吧 模拟器的目录在这里 /Users/你当前登陆的用户名/Library/A 阅读全文
posted @ 2016-03-23 14:02 抓狂的ZXY 阅读(4424) 评论(0) 推荐(0) 编辑
摘要: iOS中常见3种方法来控制字体,下面根据我在网上学习总结的内容发布(已完美避过所有坑,iOS8.4) 一.系统默认的设置字体方法(只对英文和数字生效的方法) 1.系统默认提供的字体主要是指UIFont中提供的字体,其使用代码为: _label.font = [UIFont fontWithName: 阅读全文
posted @ 2016-03-23 13:25 抓狂的ZXY 阅读(2702) 评论(0) 推荐(0) 编辑
摘要:   1.BUG现象:   问题描述:返回一个UIColor对象时报错,[UIColor redColor]时不报错,[UIColor colorWithRGB]时报错,编译器不报告具体问题,不报告具体位置,仅仅显示EXC_BAD_ACCESS(code=EXC_I386_GPFLT) 初步推测:一个 阅读全文
posted @ 2016-03-14 16:21 抓狂的ZXY 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 在webViewDelegate里面添加如下代码: 创建放大图片的视图 实现关闭和捏合手势的方法 效果图如下         <div><img width="320.000000" height="300.000000" src="http://114.215.171.217:80/image/f 阅读全文
posted @ 2016-03-14 14:19 抓狂的ZXY 阅读(553) 评论(0) 推荐(0) 编辑
摘要: http://www.zhihu.com/question/20248971 阅读全文
posted @ 2016-03-14 14:18 抓狂的ZXY 阅读(111) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20160205/15233.html 阅读全文
posted @ 2016-03-14 14:17 抓狂的ZXY 阅读(117) 评论(0) 推荐(0) 编辑
摘要: - (int)textLength:(NSString *)text//计算字符串长度 {     float number = 0.0;     for (int index = 0; index < [text length]; index++)     {         NSString * 阅读全文
posted @ 2016-03-14 14:16 抓狂的ZXY 阅读(770) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad {     [super viewDidLoad];          //增加监听,当键盘出现或改变时收出消息     [[NSNotificationCenter defaultCenter] addObserver:self             阅读全文
posted @ 2016-03-14 14:15 抓狂的ZXY 阅读(319) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页