zoukankan      html  css  js  c++  java
  • 百度地图1.2.2 问题集合

    (1)编译正常,运行报  [UIDevice uniqueGlobalDeviceIdentifier]: unrecognized selector sent to此时需要 other linker  flags 添加 -all_load参数。

             具体:Project ->build settings ->linking->Other Linker flags

    (2)编译报  Undefined symbols for architecture armv7。请检查有没有添加QuartzCore.framework 和 CoreLocation.framework

    (3)  BMKMapManager 强烈建议通过单例模式管理起来,并且不要手动调用其release方法。

    (4)  进行用户位置定位时除了要设置showsUserLocation = YES,还要在mapView:didUpdateUserLocation:方法中调用setCenterCoordinate:animated

             另外一定要在dealloc中,或者其他离开页面的地方调用showsUserLocation= NO,否则会出现第二次push到定位页面时,不会重新定位问题。

    (5) 必须至少让一个类保持.mm文件,或者按照官方修改编译器类型。

    (6) lipo –create Release-iphoneos/libbaidumapapi.a Release-iphonesimulator/libbaidumapapi.a –output libbaidumapapi.a 如果报错,请改成

         lipo –create –output libbaidumapapi.a Release-iphoneos/libbaidumapapi.a Release-iphonesimulator/libbaidumapapi.a 就能解决。

  • 相关阅读:
    python 时间 时间戳 转换
    jsp mysql
    multi struts config
    mysql start
    struts logic tag
    jsp setProperty
    jstl fn tag
    write jsp tag
    use Bean in JSP
    jsp mysql JavaBean
  • 原文地址:https://www.cnblogs.com/YanPengBlog/p/5245071.html
Copyright © 2011-2022 走看看