遇到个BUG,卡了好久,就是在iOS9上定位接口是正常的,但是在iOS7上就一直拿不到回调,但是看系统日志其实已经定位到了.总是在报一句not response,也没有具体函数名

昨天灵机一动,从delegate里找了个函数放上去,OK了.

- (void)locationManager:(CLLocationManager *)manager

    didUpdateToLocation:(CLLocation *)newLocation

           fromLocation:(CLLocation *)oldLocation

- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations

看看哪个在iOS9上会被调用,哪个在iOS7上调用.

最新文章

  1. 用ssh整合时,用sessionfactory的getCurrentSession()获取不到session
  2. WinForm开发框架【细化权限至操作按钮】
  3. python 连接sql server
  4. Source Insight 基本使用(1)-使用Source Insight查看Android Framework 源码
  5. struts2 的简单实例应用
  6. JavaScript + HTML DOM (keep for myself)
  7. 很多Python新手教程
  8. bzoj3997组合数学(求最长反链的dp)
  9. AngularJS进阶(十一)AngularJS实现表格数据的编辑,更新和删除
  10. unix重定向标记
  11. android打电话方法(直接拨通)
  12. RSS工具关注期刊,方便快速获取及时大量的文献信息
  13. HP-UX平台安装Oracle11gR2数据库
  14. InvalidateRect,invalidate,updatewindow(转)
  15. 某gov的逻辑漏洞
  16. typeof, offsetof 和container_of
  17. 【nodejs】学习笔记
  18. locust===官方说明文档,关于tasks
  19. match函数
  20. Python 15 I/O编程

热门文章

  1. DevExpress--xtraTabbedMdiManager控件
  2. https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform
  3. 几种排序算法的学习,利用Python和C实现
  4. 常用OpenLDAP命令
  5. range()和xrange()
  6. php __invoke 和 __autoload
  7. Wen前端性能优化
  8. C#中(int)、int.Parse()、int.TryParse()和Convert.ToInt32()的区别 <转>
  9. JPA原理理解
  10. Mybatis 源码分析--Configuration.xml配置文件加载到内存