by Anonymous » 02 Jun 2025, 17:33
Ich habe ein Framework, das verwendet: < /p>
_healthStore requestAuthorizationToShareTypes:writeTypes readTypes:readTypes completion:^(BOOL success, NSError *error) {
< /code>
Wenn ich das Framework in meine iOS-App einbeziehe und Folgendes in meine App Info.plist-Datei einfügt: < /p>
NSHealthShareUsageDescription
Read heart rate monitor data.
NSHealthUpdateUsageDescription
Share workout data with other apps.
< /code>
Alles funktioniert gut. Autorisierung. Dies ist Teil des Projekts, das sich in Objective-C befindet. Vor iOS 10 und Xcode 8 hat dies alles gut funktioniert.>
Ich habe ein Framework, das verwendet: < /p>
_healthStore requestAuthorizationToShareTypes:writeTypes readTypes:readTypes completion:^(BOOL success, NSError *error) {
< /code>
Wenn ich das Framework in meine iOS-App einbeziehe und Folgendes in meine App Info.plist-Datei einfügt: < /p>
NSHealthShareUsageDescription
Read heart rate monitor data.
NSHealthUpdateUsageDescription
Share workout data with other apps.
< /code>
Alles funktioniert gut. Autorisierung. Dies ist Teil des Projekts, das sich in Objective-C befindet. Vor iOS 10 und Xcode 8 hat dies alles gut funktioniert.>