How to use NSzombie in xcode?

Can I force XCode to use iOS 5 MKMapView APIs when the iOS 6 framework is already downloaded and in use?

  • I am currently going through a course (iTunes U CS193P) which is currently taught in iOS 5. I have XCode with the iOS 6 frameworks on my machine, but i am wondering if there is a way to still go through this lecture, based on MKMapViews and force this to be iOS 5 only? This is not for distribution; it is purely for running in the simulator through a learning process.

  • Answer:

    Although Apple has moved from bitmap map to vector map in iOS 6, and changed from google map tiles to its own tiles (tomtom + openstreet map) accordingly, it actually keeps the MapKit API the same during this transition. This way, existing apps using MapKit will work both in iOS 5 with the old bitmap engine + google map tiles as well as in iOS 6 with the new vector map engine. Even though you can't really "revert" to the old bitmap engine in iOS 6, the MapKit API is the same, so it doesn't matter if you are using iOS 5 or 6. If you are insisting to use the old bitmap engine with Google map tiles (BTW with lots of annotation views on the map, its performance is way better than the vector map engine) , you can always use iOS 5 simulator ;) One interesting exception is China, where Apple has to get map tiles from a government authorized local provider named Autonavi. Autonavi has also been providing map tiles to Google maps in China, and they seem to have only bitmap tiles. Therefore, it might sound ridiculous, Apple is actually still maintaining the old bitmap engine in iOS 6 MapKit. When an iOS device detects itself in China, it will automatically switch to the old bitmap engine displaying Autonavi tiles (which look mostly identical to Google maps in China since they are from the same source anyway). Therefore, your iOS 6 MapKit app will look mostly identical to the iOS 5 version, only in China.

Tan Miaoqing at Quora Visit the source

Was this solution helpful to you?

Other answers

iOS 6 still uses MapKit for showing maps in an iOS app. Its just that instead of using Google Maps, MapKit now uses Apple maps. The framework itself has not changed. So you can still follow the course and use MapKit framework without any issues. If you want to run the app on iOS 5 and see how it works, just change the deployment target to iOS 5 in the project settings. If you still are not convinced and want to use the iOS 5 SDK as well (and not iOS 6), change the base SDK in the project settings to iOS 5.

Lata Sadhwani

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.