-3

I wants to get accurate sleep data into my iOS app without using health kit. Please provide suggestions.

https://apple.news/As1Ja5ZpOSzOt--RV8NkIWQ

Hemant Solanki
  • 894
  • 10
  • 24

1 Answers1

1

No, for getting sleep data from iphone you need to use the health kit. Even if you use any third party frameworks for getting sleep data, internally it has to use health kit thus requires user permission for the same. Any way asking permission is one time and hence it should not affect the user experience.

Karthick Ramesh
  • 1,451
  • 20
  • 30
  • @HemantSolanki Oh, it seems you want to replace science and a work of multiple people for multiple months by a single stackoverflow answer? That won't work. – Sulthan Jul 03 '18 at 06:14
  • @Sulthan I want to know is there any way to get sleep data. i have searched and found above link. so i want to know other alternatives of that.i hope u got it. – Hemant Solanki Jul 03 '18 at 06:17
  • 1
    @HemantSolanki They don't get the sleep data, they use phone sensors to create the sleep data. – Sulthan Jul 03 '18 at 06:18
  • @Sulthan yes i know that bro.they have their algorithms to create data from sensor. – Hemant Solanki Jul 03 '18 at 06:21