iphone - 您可以将手机创建的图像添加到 MKOverlay 中吗?
我一直在关注 WWDC 第 127 期 - 使用叠加层自定义地图。他们说您可以从应用程序包或网络获取图像以用作 MKOverlay。我想知道手机是否可以使用其 API 生成图像。
有人做过吗?您可以提供教程吗?
谢谢。
[编辑] 我实际上还需要一个关于如何将由手机创建或从网络下载的图像添加到地图的教程。 我看到的只是 WWDC 演示,但你需要会议门票,但我显然没有。
I've been following the WWDC Sesion 127- Customizing Maps With Overlays. They say you can get the image to use as a MKOverlay either from the apps bundle or from the network. I would like to know if the image can be generated by the phone using it's APIs.
Has anyone done it? Can you maybe provide a tutorial?
Thanks.
[EDIT]
I would also actually need a tutorial on how to add that image, created by the phone or downloadded from the network, to the map.
All I see is the WWDC demo but you need the ticket to the conference, wich I obviously dont have.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下面是一些使用 Quartz 绘制 UIImage 的代码。希望它对您有所帮助,并且您可以了解想法
Here is some code for drawing using Quartz into an UIImage. Hope it is helpful, and you can get the idea