일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 러닝기록앱
- MKMapItem
- Protocol
- weatherKit
- weak var
- CoreLocation
- 단일 책임원칙
- xcode로 날씨앱 만들기
- Startign Assignments
- UICollectionViewFlowLayout
- dispatchsource
- WeatherManager
- swift
- 영문 개인정보처리방침
- AnyObject
- CLLocationManagerDelegate
- SwiftUI Boolean 값
- Timer
- 서체관리자
- App Store Connect
- Required Reason API
- Xcode
- RunningTimer
- 러닝타이머
- 클로저의 캡슐화
- MKMapViewDelegate
- addannotation
- 한국어 개인정보처리방침
- font book
- UIAlertAction
Archives
- Today
- Total
목록CLLocationManager (1)
VesselWheel

Mapkit을 사용하기 위해서는 첫번째로 CLLocationManager과 MKMapView의 객체를 정의해야한다. 더보기 lazy var locationManager: CLLocationManager = { let manager = CLLocationManager() manager.desiredAccuracy = kCLLocationAccuracyBest manager.startUpdatingLocation() // startUpdate를 해야 didUpdateLocation 메서드가 호출됨. manager.delegate = self manager.pausesLocationUpdatesAutomatically = false manager.allowsBackgroundLocationUpdates = t..
Xcode Study
2024. 3. 8. 09:52