ios - HealthKit requestAuthorizationToShareTypes once per day? -


I was trying to use Apple's Helvetket Authority Model in my app's settings, Get permission to turn on / off Sharing It automatically pops up the authorization screen Although it seems like only once and never again, for at least 24 hours, where there is a need to indicate again.

Can it be used as similar to pushmess requests, where a user is prompted once and then the same request is never indicated?

I am confused to add this model signal to the initial weight of the app because it is quite interactive as a full screen model; Even a single call is ever made once.

Actually the user believes to see it push the notification permissions, or access contacts .)

I have found that for each datatype that you want to share with the health app (or reading), you got a shot with a model prompt. This prompt may be a bit tedious for the user because it asks for your app to fully permit (both read and write), and I think that's the reason Apple has called the best practice of healthcare that your app Need to ask for full permission at the same time (though some may argue in the case of UX).

If you want to ignore the suggestions of this best practice of Apple, then you may want to read / write permission for each datatype separately - by doing so each time you have a different Ask for permissions for type, model sheet will be indicated.

In the bottom line, this permission letter means (by the apple) to be shown to the user once, you can find a way to pass that limit (many times depending on the amount of dataset ), But I would not recommend leaving the guidelines of apple (it's never a good idea).

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -