我在 UITextField
下有一个 UITextField
和一个 UITableView
。
当用户输入任何地方时,它会显示数据的相关位置,用户权限应显示在 TableView 中。为此,我对第三方库进行了大量搜索,并按照 google 的步骤进行操作,但未能获得结果。
现在我再次尝试了 Google Developers 程序但到目前为止没有结果,我在我的 AppDelegate.m
文件中获得了 API key 并在我的 View 中完成了一些编码我要显示的 Controller 。
我不知道如何得到我的结果,有人能帮我吗?
我不知道为什么会遇到这个问题,因为我在我的项目中只使用了 Google Developers
的 Objective-c
代码。
问题是这样的:
"Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly"
最佳答案
也许您正在使用的 Frameworks
之一是 Swift。因此,请检查您拖到项目中的每个 Framework
。
如果您正在使用 CoreData
,如果选择了 Swift<,您也需要将
.Code Generation
更改为 Objective-C
/
了解更多 Here
关于ios - 在 IOS 的文本字段中自动完成 Google Places,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45881557/