Should I be worried about rumors that Apple will stop using Google Maps in iOS6? [closed]

你离开我真会死。 提交于 2019-11-28 00:43:14
Omar Abdelhafith

From the experience I have with SDKs, I can tell you that: no, you will not need to worry, for a couple of reasons:

  • Apple is well known to maintain backward compatible updates.
  • The Map Kit API is encapsulated and it should not change at all.
  • Even if the techniques of achieving maps and routes changes, Apple will still keep the same interface to access these functionalities.
  • Most of low level functionalities of any SDK are encapsulated, their public interfaces (that we developers have access to) are stable and should not change.
  • A break in these interfaces must be very difficult to even think about.
  • Change the lower level of implementation will not change the public interface of the Map Kit API.
  • Even if the interface changed, Apple will still leave the old interface and add deprecation metadata to them. These interfaces will still work, and other interfaces maybe added.

The only potential problems is that you will need to think about are when you are going to update your app, and that would be on whether to implement the new functionalities that the new Map Kit may provide.

Nate

I agree with Omar that Apple will probably work quite hard to make sure MapKit isolates developers from breakage. But, there will be some problems.

The first problem I see is usage of undocumented features of Google Maps. Undocumented doesn't necessarily mean the same thing as Private APIs, which it's pretty hard to sneak into the app store (although not impossible).

For example, this technique for opening Maps with a URL, to display routes. This is different than using MapKit, but it still could be an issue for some apps.

The second thing I see are potential legal issues associated with Google Maps. If I remember correctly, there are Google geocoding web services, that allow free usage, so long as you display the results on a Google map. Currently, iPhone maps are Google maps (Maps.app or MapKit maps). In the future, they map not be. If your app relies on a back end that uses Google geocoding services, you may have some rework to do.

Anyway, the majority of maps-related code should not break. I just wanted to give a couple examples of where there could be problems.

Update: also, there have been reports that the new Apple Maps are inferior to Google Maps in a few ways. Although it might still work, if your app is doing something like routing to an address, you might find that Apple's new maps app does a poorer job of finding the location you give it. So, in order to work as well as it used to, you may need to refactor your app to use coordinates, rather than addresses. Again, little things might turn out to make a difference here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!