Google Maps iOS SDK和故事板 [英] Google Maps iOS SDK and storyboards
问题描述
我希望有人能够解释如何开始使用Google Maps和Xcode Storyboard。
我找不到任何有关如何实际操作的信息。我只需要一个示例或采取的步骤。
这是 http://www.youtube.com/watch?v=r3H8dFG0UCY 谷歌快捷键视频。但是我看不到视频中的代码。
任何帮助将不胜感激,谢谢。 创建in在你想插入地图的视图中使用通用UIView,而不是在文件检查器中,给它定制类GMSMapView。
然后你可以创建一个IBOutlet在视图控制器头文件中,并初始化地图..
I was hoping someone could explain how to get started with Google Maps and Xcode storyboards. I can't find any information about how to actually do it. I just need an example or the steps to take.
There is this http://www.youtube.com/watch?v=r3H8dFG0UCY Google shortcuts video. But I can't see the code in the video.
Any help would be appreciated, thanks.
Create in the View in which you want to insert the map a generic UIView, than in the file inspector, give it the custom class "GMSMapView".
Then you can create a IBOutlet to it in the view controller header file and initialize the map..
这篇关于Google Maps iOS SDK和故事板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!