iOS7上的地图定位接口BUG
2024-10-11 23:13:44
遇到个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上调用.
最新文章
- 用ssh整合时,用sessionfactory的getCurrentSession()获取不到session
- WinForm开发框架【细化权限至操作按钮】
- python 连接sql server
- Source Insight 基本使用(1)-使用Source Insight查看Android Framework 源码
- struts2 的简单实例应用
- JavaScript + HTML DOM (keep for myself)
- 很多Python新手教程
- bzoj3997组合数学(求最长反链的dp)
- AngularJS进阶(十一)AngularJS实现表格数据的编辑,更新和删除
- unix重定向标记
- android打电话方法(直接拨通)
- RSS工具关注期刊,方便快速获取及时大量的文献信息
- HP-UX平台安装Oracle11gR2数据库
- InvalidateRect,invalidate,updatewindow(转)
- 某gov的逻辑漏洞
- typeof, offsetof 和container_of
- 【nodejs】学习笔记
- locust===官方说明文档,关于tasks
- match函数
- Python 15 I/O编程
热门文章
- DevExpress--xtraTabbedMdiManager控件
- https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform
- 几种排序算法的学习,利用Python和C实现
- 常用OpenLDAP命令
- range()和xrange()
- php __invoke 和 __autoload
- Wen前端性能优化
- C#中(int)、int.Parse()、int.TryParse()和Convert.ToInt32()的区别 <;转>;
- JPA原理理解
- Mybatis 源码分析--Configuration.xml配置文件加载到内存