zoukankan      html  css  js  c++  java
  • iOS7上的地图定位接口BUG

    遇到个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上调用.

  • 相关阅读:
    HDU 6043
    HDU 6033
    HDU 6041
    HDU 6050
    HDU 6053
    HDU 6055
    HDU 6045
    HDU 6044
    HDU 6040
    ZUFE 1035 字符宽度编码(字符串)
  • 原文地址:https://www.cnblogs.com/decwang/p/5065959.html
Copyright © 2011-2022 走看看