Does iMessage extension need container (Parent) app in iOS10? - ios

Before release of iOS 10, extension only works with container app. There is no way to create independent extension without parent app.
But after release of iOS 10, I found that we can deploy Sticker iMessage Pack without any parent application.
So can we create iMessage App with other functionality, independent of parent application?
If yes, then can we use In App Ads for monetization within iMessage Extension ?

You can either create an independent iMessage app, or an extension to an iOS app. Note: currently, if you create an iMessage app and decide later you'd like for it to have a parent iOS app, you won't be able to do that in iTunes Connect.
In my experience you also can't load ads in an iMessage extension, and external links are prevented. So your best bet is to use in-app purchases or charge for the app to monetize it.
Yes, here is iMessage development guide.
We can develop Standalone App as well as Extension for Application.

Related

Is an Apple watch app required in order to use SiriKit?

I've set up Siri on my iOS app- I am able to call intents using INAddTasksIntent and it works great.
When I say "Hey Siri, add task clean my room to JoshApp" it works great.
However, Siri does not work on my Apple watch, using the same commands. When I say "Hey Siri, add task clean my room to JoshApp", it will say it cannot find the app or to look on the app store.
Do I need to create a separate Apple watch app and handle the Siri intents there? Based on my research (which incidentally, there is very little documentation around it), it doesn't seem like it is possible unless you set up a watchOS app.
Intents are delivered to individual devices as part of app bundles:
Overview
Interactions with SiriKit occur through your Intents app extension, which you deliver inside your iOS or watchOS app bundle.
[...]
Enable the Siri Capability
Enabling the Siri capability adds a set of entitlements to your app. The App Store requires the presence of these entitlements for any iOS app or watchOS app containing an Intents extension.
[...]
Source: Creating an Intents App Extension
Without the associated app bundle being installed on the watchOS device, it's (loosely, I'll admit) implied that you won't be able to add an Intents extension to meet your requirements.

Swift - how to access all pdf files on device

I am trying to build an app that will allow users to see all pdf files that are on the device (in some kind of a list with a preview) [Regardless of which app it belongs to on the device, all should be shown]. Is there anyway to achieve this?
Sorry but this is not possible on an iOS device because of a feature called sandboxing. Apple does not allow an app to access the sandbox of another app. Each app sits inside a sandbox of its own. This is iOS's security feature. There is no way to go around this feature.
Reference - About App Sandbox

Safari Extension Distribute in App Store

I have developed a safari extension using Xcode using javascript. I distributed the extension along with the parent app to appstore. But the parent app got rejected saying it contains just a blank view. The main functionality of the app is the app extension. Is there is a way in which I can only distribute the app extension using xcode without parent app.
I dont see a proper documentation in apple documents. Any help would be appreciated.
Thanks.

Whether we can create an App Extension for WatchKit(WatchOS 2) App similar to that of iOS?

I'm developing an WatchKit App (using WatchOS 2).
I have one query whether we can create an App Entension for WatchKit App similar to that of iOS, so that other WatchKit App(host app) can use this extension for sharing purpose (may be a text or an image or a link).
Thanks!

Loading webview (to display website) in iOS application

I'm new to iOS development.
Inside my app (iOS native app), on clicking one tab, I need to load a website using webview inside the application just like using browserField in Blackberry. The website will be used to make some transactions/payments.
If this is done, will there be any problem publishing the app in iStore as the website included will be used for secure transactions.
You should use In-App purchase for payments which intend to purchase content, functionality, or services in your app.
If your app implements any external payment system/services for purchasing any of above, your app will violate the app-store guidelines and hence will be rejected.
For more info please read through App Store Review Guidelines section 11 "Purchasing and currencies". You will need to login with your AppleId.
Hope that helps!

Resources