일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- MapKit
- UIStackView
- kakaomap
- pod install
- programmers
- swiftUI
- SWIFT
- Kotlin
- EventKit
- CoreLocation
- 코딩테스트
- format형식
- cocoapods
- android
- Alert
- autolayout
- 백준
- AsyncImage
- ios15
- image
- Appearance변경
- ios
- segue
- NotificationCenter
- UserDefaults
- alamofire
- snapkit
- SwiftUI_Preview_Provider
- ViewModifier
- Java
Archives
- Today
- Total
목록MapKit (1)
감자주먹밥
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/GZxjo/btr8lO4J20a/FymoF9Pf3oUBJa2QiusykK/img.png)
SwiftUI 에서 지도를 띄우기 위해서는 먼저 MapKit을 import 해야한다. Map(coordinateRegion:, interactionModes:, showsUserLocation:, userTrackingMode:, annotationItems:, annotationContent:) MapKit을 import 하면 지도를 보여주는 Map 을 사용해 View에 보여줄 수 있다. coordinateRegion: Binding 타입으로 지도가 표시될 위치와 지도의 zoom level을 초기화해 주입한다. MKCoordinateRegion(center:, span:) MKCoordinateRegion(center:, latitudinalMeters:, longitudinalMeters:) MKCo..
IOS/SwiftUI
2023. 4. 5. 22:59