Xcode/iOS: does Maps need to be switched on in Capabilities? - ios

I have integrated MapKit in my iOS app, and it works fine without switching Maps on in xCode/target/Capabilities.
So, does Maps need to be switched on in Capabilities or not?
I just found out about Capabilities, as I needed to switch In-App-Purchases on.

You only turn the Maps capability on if your app is meant to provide routing (navigation/direction) services to other apps.
Based on your comments, your app will not be providing this service so you don't need to turn on the Maps capability.

Related

Secure joining process using Local Google & Apple HomeKit SDK's

I am working on smart home devices based on the zigbee, z-wave & wifi.
I would like to make my smart home devices compatible with the google local SDK & apple home kit.
For that,
I would like to know how the provisioning is managed by the SDK or APP to add a device securely into the network.
Are there any standards mentioned by Google Or Apple?
How the security is managed by them?
With regards to Google's smart home platform, the seamless setup using Bluetooth is documented along with the rest of the developer documentation. That should answer your questions for that platform. I don't know about how Apple does it in their HomeKit platform.

How does gboard app work in iOS?

The gboard app available within app store for ios provides a custom keyboard that can be used to provide inputs to any text based application and runs smoothly with iMessages , messenger, whatsapp etc. It also provides advanced features like google contextual search within the keyboard that can be pasted across.
From an ios app development perspective, how does this work with other applications since iOS app development , cocoa touch architecture enforces application sandboxing where inter app communication is restricted. One can communicate only using url schemes or icloud, that too in a limited extent.
So how has been this application developed and which advanced features of cocoa touch has been utilised to develop such an app
Most likely it is a keyboard extension. Apple added this ability in iOS 8.
It is fully documented in the Custom Keyboard section of the App Extension Programming Guide.

Offline maps support for iOS 6. Is that possible?

I am developing app that has map functionality and i want to support offline maps as well. Is that possible? Also is it possible to show route with openInMapsWithLaunchOptions without network?
You can't do this with any level of predictability or control with MapKit, but you can with both MBXMapKit and the Mapbox iOS SDK. Both have robust offline support built in.

Is it possible to load a library before linking based on iOS version?

I have an application which is supposed to use google maps and mapkit framework. Now, google maps are only supported on iOS version 5.1 and further whereas Mapkit framework is supported on lower versions.
I want to the application to:
Load Mapkit on lower versions of the device.
Load Google maps for 5.1 and above versions,
before linking.
Bottomline is, is it possible to load the specific libraries based on iOS version of the device when application launches, before linking ? OR so can I programmatically choose between the two, based on the iOS version ?
Thanks for any help.
Note that just including the Google Maps SDK for iOS in your app will make it crash on iOS 4.x - even if you don't call anything in the SDK. See here for details:
Google Maps SDK for iOS trying to run on iOS 4.3
So if you take this approach, you'll be able to use Google maps on iOS 5.1+, but only be able to use Apple maps on iOS 5.0. Given that probably less than 1% of users are running iOS 5.0 (see here), it might not be worth the trouble.
It is possible to choose between the two, but what you are describing exactly is not possible. Apple doesn't allow third-party dynamically linked frameworks. The Google Maps framework will actually be a static library inside your application, so it exists in your binary itself (no linking involved).
I should point out that the SDKs are obviously not API-compatible, so you will need different code in each case and can't just, for example, change the class of your map view based on iOS version.

Off-line using of online maps

Does somebody know soft for better using online maps in off-line mode?
Because, you know, now you have to do several printscreens and then glue them.
But I'm pretty sure that there is tool at least for gluing overlapping images
MapsWithMe provides free offline maps for iPhone, iPad and Android. iOS version is available at the AppStore. Android is in beta, just ask for it at info#mapswithme.com
in Russia, there are Yandex maps and the collection of cache maps (http://ymm.sytes.net/) which you can load in your cell phone. Unfortunately, as I know, there is only Russian interface.

Resources