Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3581 from KRA2008/patch-1
Browse files Browse the repository at this point in the history
Update healthkit.md code example to not add a bug
  • Loading branch information
davidbritch committed Feb 2, 2024
2 parents 9a2b538 + 709b59c commit 2d5ca81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/ios/platform/healthkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ private HKHealthStore healthKitStore = new HKHealthStore ();

public override void OnActivated (UIApplication application)
{
base.OnActivated(application);
ValidateAuthorization ();
}

Expand Down Expand Up @@ -433,4 +434,4 @@ Finally, we've taking a look at a simple implementation of Health Kit using the
## Related Links

- [HKWork (sample)](/samples/xamarin/ios-samples/ios8-introtohealthkit)
- [Introduction to iOS 8](~/ios/platform/introduction-to-ios8.md)
- [Introduction to iOS 8](~/ios/platform/introduction-to-ios8.md)

0 comments on commit 2d5ca81

Please sign in to comment.