Hi I am new to iOS programming.My requirement is to display the google maps in iOS6.That means it displays the total world map.Please check the attached image for clarification.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- How do you change the color of the dotted line on
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
Here is the Google Maps SDK for iOS website - https://developers.google.com/maps/documentation/ios/ But first, you should get an API key here - https://developers.google.com/maps/ios-access
In iOS 6.0 and above you have some options:
Use a
UIWebView
(the google maps rendering 'engine' is not present as before) to load themaps.google.com
pageUse the Google Maps iOS SDK (Best Option)
Use MapBox and use similar topography rendering to google maps
With the official Google Maps iOS SDK you can actually add your own map to your app, so this is your best option. The docs have great detailed info on how to setup!
Ideal place to start if you want to display maps in iOS is to check out the Location Awareness Programming Guide (Apple's documentation, you will need a free developer account to access it.) This will show you how to use the MapKit framework.
Note that as of iOS 6 Apple uses their own maps back end rather then Google data. If you just want to display a map, Apple's maps should be sufficient.
If you for some reason need to specifically display a map using Google's data, check out their iOS Maps SDK.
This is all assuming that you are working on a native Objective C application, not a Phonegap style or web application.