{"id":32739,"date":"2024-11-01T09:11:12","date_gmt":"2024-11-01T09:11:12","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=32739"},"modified":"2024-11-01T11:23:56","modified_gmt":"2024-11-01T11:23:56","slug":"swiftui-method-for-iphone-app-development-08-displaying-a-map-with-map-view","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/32739\/","title":{"rendered":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View"},"content":{"rendered":"<p><body><\/p>\n<p>In recent years, Apple&#8217;s SwiftUI has established itself as an innovative framework that is changing the paradigm of iOS app development. SwiftUI uses a declarative programming approach to help developers create UIs in a more intuitive and concise manner. In this tutorial, we will take a closer look at how to implement a map view in an iPhone app using SwiftUI. This course will be useful for both beginners and intermediate developers.<\/p>\n<h2>1. What is a Map View?<\/h2>\n<p>A map view is a powerful tool that allows you to integrate maps into your app using Apple&#8217;s MapKit framework. Users can use the map view to display specific locations, draw routes, or receive information about various places. The map view provides functionality to track the user&#8217;s current location in real-time via GPS, enhancing user experience by facilitating visits to multiple places or finding information about specific locations.<\/p>\n<h2>2. Setting Up the Development Environment<\/h2>\n<p>To implement a map view using SwiftUI, you must first create a new project in Xcode. Xcode is Apple&#8217;s official IDE, providing various tools and libraries necessary for iOS development.<\/p>\n<ol>\n<li>Launch Xcode and select <strong>New Project<\/strong>.<\/li>\n<li>Select <strong>App<\/strong> and click the <strong>Next<\/strong> button.<\/li>\n<li>Enter the project name, team, organization name, and identifier, and select <strong>SwiftUI<\/strong> for the user interface.<\/li>\n<li>Finally, click the <strong>Create<\/strong> button to create the project.<\/li>\n<\/ol>\n<h2>3. Implementing a Map View in SwiftUI<\/h2>\n<p>To implement a map view in SwiftUI, you need to use the <code>Map<\/code> structure. This structure creates a basic map view using MapKit. The code below is an example of how to use the map view in SwiftUI.<\/p>\n<pre><code>import SwiftUI\nimport MapKit\n\nstruct ContentView: View {\n    @State private var region = MKCoordinateRegion(\n        center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194), \/\/ San Francisco coordinates\n        span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n    )\n\n    var body: some View {\n        Map(coordinateRegion: $region)\n            .edgesIgnoringSafeArea(.all)\n    }\n}\n\nstruct ContentView_Previews: PreviewProvider {\n    static var previews: some View {\n        ContentView()\n    }\n}<\/code><\/pre>\n<h3>3.1 Code Explanation<\/h3>\n<p>The important elements in the code above are as follows:<\/p>\n<ul>\n<li><strong>import SwiftUI and MapKit<\/strong>: Importing the SwiftUI and MapKit frameworks. MapKit provides the functionality needed to implement the map view.<\/li>\n<li><strong>MKCoordinateRegion<\/strong>: Defines the center and zoom level of the area displayed on the map. In the example above, the coordinates for San Francisco are set as the center.<\/li>\n<li><strong>Map structure<\/strong>: Creates the map view using declarative syntax. The <code>coordinateRegion<\/code> parameter is used to set the area to be displayed.<\/li>\n<\/ul>\n<h3>3.2 Properties of the Map View<\/h3>\n<p>SwiftUI&#8217;s <code>Map<\/code> view can be enhanced by adding various properties. For example, it can display user icon locations or add specific markers.<\/p>\n<h4>3.2.1 Adding Location Markers<\/h4>\n<p>To add location markers, you can use <code>Annotation<\/code> to add markers at specific coordinates. The code below demonstrates how to add markers.<\/p>\n<pre><code>import SwiftUI\nimport MapKit\n\nstruct ContentView: View {\n    @State private var region = MKCoordinateRegion(\n        center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194),\n        span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n    )\n\n    var body: some View {\n        Map(coordinateRegion: $region, annotationItems: locations) { location in\n            MapPin(coordinate: location.coordinate, tint: .blue)\n        }\n        .edgesIgnoringSafeArea(.all)\n    }\n\n    let locations = [\n        Location(title: \"San Francisco\", coordinate: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194)),\n        Location(title: \"Los Angeles\", coordinate: CLLocationCoordinate2D(latitude: 34.0522, longitude: -118.2437))\n    ]\n}\n\nstruct Location: Identifiable {\n    var id = UUID()\n    var title: String\n    var coordinate: CLLocationCoordinate2D\n}\n\nstruct ContentView_Previews: PreviewProvider {\n    static var previews: some View {\n        ContentView()\n    }\n}<\/code><\/pre>\n<h4>3.2.2 Tracking User Location<\/h4>\n<p>To track user location, you can use the <code>CoreLocation<\/code> framework. The code below shows an example of tracking the user&#8217;s location.<\/p>\n<pre><code>import SwiftUI\nimport MapKit\nimport CoreLocation\n\nclass LocationManager: NSObject, ObservableObject, CLLocationManagerDelegate {\n    @Published var location: CLLocation?    \/\/ Current location\n    private var locationManager = CLLocationManager()\n    \n    override init() {\n        super.init()\n        self.locationManager.delegate = self\n        self.locationManager.requestWhenInUseAuthorization() \/\/ Request location permission\n        self.locationManager.startUpdatingLocation() \/\/ Start location updates\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        self.location = locations.last\n    }\n}\n\nstruct ContentView: View {\n    @State private var region = MKCoordinateRegion(\n        center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194),\n        span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n    )\n    \n    @ObservedObject var locationManager = LocationManager() \/\/ Location manager instance\n    \n    var body: some View {\n        Map(coordinateRegion: $region, showsUserLocation: true)\n            .onAppear {\n                if let location = locationManager.location {\n                    region.center = location.coordinate \/\/ Change map center to user location\n                }\n            }\n            .edgesIgnoringSafeArea(.all)\n    }\n}\n<\/code><\/pre>\n<h2>4. Adding Advanced Features<\/h2>\n<p>Using SwiftUI and MapKit, you can add various advanced features to your app. For example:<\/p>\n<ul>\n<li><strong>Drawing Routes<\/strong>: Add functionality to draw routes between two points to enable users to navigate.<\/li>\n<li><strong>Displaying POIs (Points of Interest)<\/strong>: Search for places in specific categories and display them on the map.<\/li>\n<li><strong>User Interactive Elements<\/strong>: Add pop-ups that show details when users click on markers on the map.<\/li>\n<\/ul>\n<h3>4.1 Drawing Routes<\/h3>\n<p>To draw routes, you need to calculate routes using existing location information. The following code is an example of fetching routes using a public API.<\/p>\n<pre><code>import SwiftUI\nimport MapKit\n\nstruct ContentView: View {\n    @State private var region = MKCoordinateRegion(\n        center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194),\n        span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n    )\n    \n    var body: some View {\n        Map(coordinateRegion: $region)\n            .overlay(\n                Path { path in\n                    \/\/ Code to draw the route\n                }\n                .stroke(Color.red, lineWidth: 5)\n            )\n            .edgesIgnoringSafeArea(.all)\n    }\n}<\/code><\/pre>\n<h2>5. Optimization and Testing<\/h2>\n<p>After the development is complete, it is necessary to test the app on real devices to optimize performance and handle bugs. You should ensure that the app works well on various iPhone screen sizes and gather feedback from real users to have an opportunity to improve UI\/UX.<\/p>\n<h2>6. Conclusion<\/h2>\n<p>In this tutorial, we learned how to implement a simple map view using SwiftUI. Integrating location-based services through the map view can greatly enrich the user experience. Based on this tutorial, explore adding more advanced features and create your own amazing apps. Developing apps with SwiftUI offers many possibilities and can lead to continuous growth.<\/p>\n<h2>Frequently Asked Questions (FAQ)<\/h2>\n<dl>\n<dt><strong>What is the difference between SwiftUI and UIKit?<\/strong><\/dt>\n<dd>SwiftUI constructs the UI in a declarative manner, whereas UIKit does so in an imperative manner. SwiftUI supports development in a more concise and intuitive way, allowing for easy implementation of various animations and UI elements.<\/dd>\n<dt><strong>Are there any costs involved when using the map view?<\/strong><\/dt>\n<dd>While using MapKit, there may be a fee for calling APIs, but standard functionality within a typical range is available for free. However, costs can increase if there are a large number of users.<\/dd>\n<\/dl>\n<footer>\n<p>I hope this tutorial was helpful, and I will continue to provide more information on SwiftUI and iOS development in the future.<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In recent years, Apple&#8217;s SwiftUI has established itself as an innovative framework that is changing the paradigm of iOS app development. SwiftUI uses a declarative programming approach to help developers create UIs in a more intuitive and concise manner. In this tutorial, we will take a closer look at how to implement a map view &hellip; <a href=\"https:\/\/atmokpo.com\/w\/32739\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[125],"tags":[],"class_list":["post-32739","post","type-post","status-publish","format-standard","hentry","category-swift-iphone-app-development-swiftui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/32739\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In recent years, Apple&#8217;s SwiftUI has established itself as an innovative framework that is changing the paradigm of iOS app development. SwiftUI uses a declarative programming approach to help developers create UIs in a more intuitive and concise manner. In this tutorial, we will take a closer look at how to implement a map view &hellip; \ub354 \ubcf4\uae30 &quot;SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/32739\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:11:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:23:56+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View\",\"datePublished\":\"2024-11-01T09:11:12+00:00\",\"dateModified\":\"2024-11-01T11:23:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/\"},\"wordCount\":746,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Swift iPhone app development (SwiftUI)\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/\",\"url\":\"https:\/\/atmokpo.com\/w\/32739\/\",\"name\":\"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:11:12+00:00\",\"dateModified\":\"2024-11-01T11:23:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/32739\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/32739\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/32739\/","og_locale":"ko_KR","og_type":"article","og_title":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In recent years, Apple&#8217;s SwiftUI has established itself as an innovative framework that is changing the paradigm of iOS app development. SwiftUI uses a declarative programming approach to help developers create UIs in a more intuitive and concise manner. In this tutorial, we will take a closer look at how to implement a map view &hellip; \ub354 \ubcf4\uae30 \"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View\"","og_url":"https:\/\/atmokpo.com\/w\/32739\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:11:12+00:00","article_modified_time":"2024-11-01T11:23:56+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/32739\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/32739\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View","datePublished":"2024-11-01T09:11:12+00:00","dateModified":"2024-11-01T11:23:56+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/32739\/"},"wordCount":746,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Swift iPhone app development (SwiftUI)"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/32739\/","url":"https:\/\/atmokpo.com\/w\/32739\/","name":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:11:12+00:00","dateModified":"2024-11-01T11:23:56+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/32739\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/32739\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/32739\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"SwiftUI Method for iPhone App Development: 08. Displaying a Map with Map View"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=32739"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32739\/revisions"}],"predecessor-version":[{"id":32740,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32739\/revisions\/32740"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=32739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=32739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=32739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}