Get time of usage of other apps (iOS) [duplicate] - ios

I'm interested to know if it's possible to develop an similar app for iOS like this one that his just been release for android this week:
https://play.google.com/store/apps/details?id=com.appuccino.frequencyfree
the app track other apps usage tracking and show the user how much time he spend on each app.
thanks.

No this isn't possible, Apple will not allow this as every app works in a sandboxed mode so it doesn't know about other apps on the device and will be rejected under:
2.6 Apps that read or write data outside its designated container area will be rejected
Of the Apple Review guidelines

Related

What are iOS development limitations in data collection?

I know that iOS's development restrictions are harsher than those of Android, especially those concerning with privacy (ex: application usage tracking). There is allegedly only one iOS application that allows application usage tracking, which is Moment https://itunes.apple.com/us/app/moment-screen-time-tracker/id771541926?mt=8 .
I'd like to know if such limitations on data collection in iOS are only imposed on the app store, or even mere iOS development.
Thank you in advance.
#Jiyoun As far as my experience in iOS Development, you've more space for playing in iOS development than publishing app on Appstore. Thats why Jailbreak still exist and still in news.

Is it possible to run an iOS app store?

I would like to know that is it possible to implement and run a new app store for iOS apps? I know, iOS devices must download apps only from AppStore, but is there any way to run an independence iOS AppStore website or app?
The answer is NO. period.
3.2.2 Unacceptable
(i) Creating an interface for displaying third party apps, extensions, or plug-ins similar to the App Store or as a general-interest collection.
App Store Guidelines
Jailbreak app stores: something like Cydia. You can do pretty much anything with / on jailbroken devices.
You can easily create a website that is a subset of the official AppStore with different filters / rankings / search capabilites etc. In the end you can only support the apps available in the real AppStore since that is the only place to install apps from
Create an entire development environment and ecosystem to create apps which can be installed inside your new AppStore2.0 app. But good luck doing that complex task and good luck getting it through the apple review process.
Enter to Apple enterprise program - https://developer.apple.com/programs/enterprise/

Application developed for Apple Watch should or should not need to synch with iPhone/iPad

I would like to know that Application developed for Apple Watch should need to synch with iPhone/iPad or we can develop the app only for Apple Watch without looking for iPhone/iPad?
Warmly welcome your answers.
Regards,
Sohaib
If you are making a WatchKit app, you must implement iPhone app, too.
However, they don't need to be synchronized, as you can see in Battery Adviser (by Applestan) and iCalc (by Seyyed Parsa Neshaei) apps on the App Store. The iPhone and iPad versions of this apps are mandatory to install and available, but it doesn't sync with the Apple Watch. They both do the same, but without connecting to each other and sharing data.

Restrict future Apple Watch apps to capable devices only

I'd like to restrict the sales of my next app to devices that are able to control an Apple Watch (iPhone 5 at least).
I can't find (in the doc or on Internet) which value for UIRequiredDeviceCapabilities I should put in the info.plist file.
There is currently API for knowing whether a device is paired with Apple Watch.
Even simply from an iOS app review perspective, if a user downloads an app onto their iPhone that app is expected to provide value regardless of any external products.
See Apple's App Review Guidelines for more detail
There is no such API.
As you are also no doubt aware, requiring iOS 9 will also not assist you as it runs on iPhone 4S. While it is speculation, it is possible that this will de facto change if iOS 10 is released in September/October 2016, as expected, as that may remove support for older iPhones that cannot be paired with an Apple Watch (for mostly reasons of performance, unrelated to Apple Watch capability).
However, if you are wanting to do this because you want the app to only be used with the watch, be aware that App Store review requires that apps with WatchKit extensions need to also provide useful functionality in their own right, and cannot be solely the code backend for a watch app. Therefore, you would be expected to provide functionality to users who do not (and even cannot) attach an Apple Watch to their phones.

How to submit an app with companion device to AppStore?

Background:
We are developing an application for one of our customer to go along with their device. The application by itself cannot do anything, and must be connected to the device via Wi-Fi in order to function.
Question:
Do we:
just submit the app the standard way, even though there's no way for Apple to really test the functionality of the app?
or
do we need to provide a test device to Apple to really test the functionality of the app? If so, what's the procedure for doing this?
Edit:
Apple's Not-Very-Helpful Response
While we cannot pre-approve apps, we can address compliance questions about specific App Store Review Guidelines or sections of the iOS Developer Program License Agreement (PLA). I understand that this may be a little frustrating and I apologize for any inconvenience this may cause, however, we may only answer specific questions concerning the following resources, unless the app is submitted for review so that we may test the functionality.
App Store Review Guidelines: https://developer.apple.com/appstore/resources/approval/guidelines.html
iOS Developer Program License Agreement: http://developer.apple.com/membercenter/index.action#agreements
There are a few possibilites that have been reported.
One is to submit a video of the app running with your companion device, with a complete walk-through of the app's functionality using that device.
Another is to provide a device emulator as a test mode built into the app (perhaps requiring two devices).
Another is to provide an demo account in the Review notes; and have that account wifi tunnel out to control a remote wifi device at your location, maybe with a webcam aimed at that device and viewable by Apple.
Include proper contact info for that possibility where Apple may want you to send them a sample device for evaluation.
I have the same issue: a third-party device with which the app communicates. Without the device, the app is useless. One screen with one label. I submitted the app to the store, explaining what it does and how it communicates.
The app got approved 5 days later, without Apple asking any questions whatsoever.

Resources