{"width":"100%","url":"https://llcc.hatenablog.com/entry/2018/03/31/182252","blog_title":"\u3057\u3081\u9bd6\u65e5\u8a18","title":"\u3010Swift\u3011HealthKit\u306erequestAuthorization\u30e1\u30bd\u30c3\u30c9\u304cfalse\u3092\u8fd4\u3057\u305f\u6642\u306e\u5bfe\u51e6\u6cd5","description":"HealthKit\u306e\u30c7\u30fc\u30bf\u304c\u53d6\u308c\u305a\u306b\u56f0\u3063\u305f\u6642\u306e\u30e1\u30e2\u3067\u3059\u3002 \u73fe\u8c61 \u4e0b\u30e1\u30bd\u30c3\u30c9\u3067HealthKit\u3078\u306e\u30c7\u30fc\u30bf\u30a2\u30af\u30bb\u30b9\u753b\u9762\u304c\u51fa\u308b\u306f\u305a\u306a\u306e\u306b\u51fa\u306a\u3044\u3002 result\u304cfalse\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002 HKHealthStore().requestAuthorization(toShare: nil, read: []) { result, error in } \u3046\u307e\u304f\u884c\u3051\u3070\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3002 \u5bfe\u51e6\u6cd5 Capabilities\u306eHealthKit\u304cOFF\u306b\u306a\u3063\u3066\u3044\u308b\u4e8b\u304c\u539f\u56e0\u3067\u3057\u305f\u3002 \u3053\u3053\u3092ON\u306b\u3057\u305f\u3089\u8a8d\u8a3c\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002","blog_url":"https://llcc.hatenablog.com/","author_name":"llcc","height":"190","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/l/llcc/20180331/20180331181957.png","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2018%2F03%2F31%2F182252\" title=\"\u3010Swift\u3011HealthKit\u306erequestAuthorization\u30e1\u30bd\u30c3\u30c9\u304cfalse\u3092\u8fd4\u3057\u305f\u6642\u306e\u5bfe\u51e6\u6cd5 - \u3057\u3081\u9bd6\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2018-03-31 18:22:52","categories":["iOS"],"author_url":"https://blog.hatena.ne.jp/llcc/","version":"1.0","type":"rich"}