摘要: 1.定位定位使用CoreLocation库,引入CoreLocation/CoreLocation。创建CLLocationManager对象,使用startUpdatingLocation方法开始更新位置信息。_mgr = [[CLLocationManager alloc] init];[_mg... 阅读全文
posted @ 2015-06-05 17:25 朋克 阅读(288) 评论(0) 推荐(0) 编辑
摘要: #define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] curren... 阅读全文
posted @ 2015-06-05 14:20 朋克 阅读(429) 评论(0) 推荐(0) 编辑