摘要:
在iOS8下,按照原来的代码是无法获取到位置信息,不成功也不失败,最终无法获取位置信息; 在经过查阅后发现,需要在Info.plist 里面添加: NSLocationWhenInUseUsageDescription NSLocationAlwaysUsageDescription 类型为 Boo 阅读全文
摘要:
//开启子线程下载图片 //1.获取一个全局串行队列 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); __weak typeof(self) weakSelf = self 阅读全文