GMSMapStyle未解析的标识符 [英] GMSMapStyle unresolved identifier

查看:66
本文介绍了GMSMapStyle未解析的标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在ios中更改我的Google地图样式.为此,我正在尝试实现此代码. GMSMapStyle

I want to change my google map style in ios. For that I am trying to implement this code. GMSMapStyle

我正在导入import GoogleMaps.但是我收到此错误Use of unresolved identifier GMSMapStyle.谁能帮助我将我导入哪个模块,以避免此错误.预先感谢

I am importing import GoogleMaps. But I am getting this error Use of unresolved identifier GMSMapStyle. Can anybody help me to which module I have to import to avoid this error. Thanks in advance

推荐答案

问题是我试图在GoogleMapSDK 2.0.1版中实现此代码.但从2.1.0起可以使用.

The problem is that I was trying to implement this code in GoogleMapSDK version 2.0.1. But it is available from 2.1.0.

这篇关于GMSMapStyle未解析的标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆