Using newsstand in regular application - ios

Can I use NewsStandKit in regular application ?
I need to use NKLibrary, NKIssue and NKAssetDownload classes in my regular application, do you think apple will pass that?
thanks

You won't be able to use them unless you have your app be a Newsstand app. Apple will reject it.

Related

Is it considered a private API to use App-prefs:root?

In my app I'm using [NSURL URLWithString:#"App-Prefs:root=Privacy&path=LOCATION"] to open settings screen. Will it be rejected by apple as according to some sources this is considered a private API?
Yes. The only legal way to open Settings is to use UIApplicationOpenSettingsURLString.
My app just got rejected because of this, so yes, it is considered as private API :)
Here's the rejection notice from Apple:
Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
To resolve this issue, if you are navigating to Settings > Privacy. "Just remove that code" and put a simple alert showing Enable location services.
Because from iOS 10 apple consider it is as private entity. So you can not go through it.
There’s no supported way to open Settings to the Wi-Fi/Language/Location ‘page’. The fact that this worked in iOS 9 is a bug that’s been fixed in iOS 10.
For more info please refer https://forums.developer.apple.com/message/186656#186656

Create shortcut to iOS app

I'd like to know if it's possible to create a simple watchOS app that basically has a button to do the exact same thing as another button on the main iOS app.
If so, how do I do this? Do you recommend any guide or blog post?
Yes, this is perfectly doable. I'd recommend this watchOS 2 tutorial. You're going to use the WatchConnectivity framework to communicate with the parent app. The specific method you'll use to send data to the parent app is sendMessage(_:replyHandler:errorHandler:).

Is there a way to programmatically create App ids?

I'd like to programmatically create App ids in the iOS provisioning portal. I can't use wildcards because I need the push notification system.
Is there way to do it in commandline ?
Yes, it is possible. You can use fastlane/produce.
It's open source.
https://github.com/fastlane/produce

Is there a way to query what other apps are on a device

Does iOS offer a way for an app to query the device for information about what other apps are installed/running?
All ios apps are sandboxed so this wouldn't be possible on a non-jailbroken device
There are a few options.
First, you can lookup for the specific process name of the app, but this may be prone to error as unrelated apps may be running using the same process name, for example, I've seen both the Batman and Dark Meadow game share a similar process name: UDKGame.
Secondly, using the URL scheme. This method is useful if you know what apps you are looking for and you know that this particular app implements the URL scheme. You can do a simple canOpenURL and find out if that app is installed.
I use the second method a lot to collect the URL schemes for use in my app, AppSwitch.

Access iPhone's built-in ringtones

I have a task to access the system ringtones in my iPhone application. I want to know if it is possible to access them? If not, please explain the reason.
No it's not possible via the official SDK.
No, it is not Possible in iPhone, If you want to submit your app in app store.

Resources