Google Maps animateToCameraPosition iOS7 issue

前端 未结 1 333
粉色の甜心
粉色の甜心 2021-01-24 19:54

I am trying to install Google Maps API to an app for iOS7. After following Google\'s guidelines and videos I ended up with the following error: [GMSMapView animateToCamera

相关标签:
1条回答
  • 2021-01-24 20:35

    What you have to do is to add -objC flag in your "project" build setting, instead of "target"'s build setting.

    As it is mentioned in the following section from Google's Documentation

    **" Choose your project, rather than a specific target, and open the
        Build Settings tab. In the Other Linker Flags section, add -ObjC. If
        these settings are not visible, change the filter in the Build
        Settings bar from Basic to All. "**
    

    By this way, I was able solve Google Maps animateToCameraPosition issue.

    0 讨论(0)
提交回复
热议问题