Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mnaruse/94b2fff8a95784bcaf04e217b5ef835f to your computer and use it in GitHub Desktop.
Save mnaruse/94b2fff8a95784bcaf04e217b5ef835f to your computer and use it in GitHub Desktop.
WWDC20: What's new in location.
// 古いdidChangeAuthorizationStatusコールバックを廃止し、
// 新しいlocationManagerDidChangeAuthorizationコールバックに置き換えています。
// この新しいメソッドは、authorizationStatus または accuracyAuthorization プロパティの値が変更されるたびに呼び出されます。
// iOS13
optional func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus)
// iOS14
optional func locationManagerDidChangeAuthorization(_ manager: CLLocationManager)
@mnaruse
Copy link
Author

mnaruse commented Jul 8, 2020

first commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment